• Andy Utkan
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello,
I am using a Web to Lead form for volunteer signup on the web site. I wanted to pass two hidden parameters to set values on the lead object, when the form is submitted.

These are the two lines of code I added to the form:
"
<input type=hidden name="leadsource" id="leadsource" value="Web Volunteer Form">
<input type="hidden" name="00N1U00000GRdQD" id="00N1U00000GRdQD" value="New Sign Up">
"
The custom field that comes with VS4 is set correctly (second line of code).
I can not get the first line of code to work. Standard Lead source field can not be set with this code.

Any help would be appreciated.

Here is the help page for the functionality for reference: https://help.salesforce.com/articleView?id=000327328&type=1&mode=1

And a final note; I tried using the field API name with capital letters in it. Same result.
Hello,
I am using a Web to Lead form for volunteer signup on the web site. I wanted to pass two hidden parameters to set values on the lead object, when the form is submitted.

These are the two lines of code I added to the form:
"
<input type=hidden name="leadsource" id="leadsource" value="Web Volunteer Form">
<input type="hidden" name="00N1U00000GRdQD" id="00N1U00000GRdQD" value="New Sign Up">
"
The custom field that comes with VS4 is set correctly (second line of code).
I can not get the first line of code to work. Standard Lead source field can not be set with this code.

Any help would be appreciated.

Here is the help page for the functionality for reference: https://help.salesforce.com/articleView?id=000327328&type=1&mode=1

And a final note; I tried using the field API name with capital letters in it. Same result.