function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nhannhan 

web to lead help

Hi, Im new to salesforce and i'm trying to add a new field on my web-to-lead form, i have an existing one that was created by the previous developer, i have this code below... and im trying to add the id that would represent the fields that was created...

<select name="00N30000000mgnL2" size="1"  id="00N30000000mgnL2" title="Bandwidth Commitment">

most of the forms have unique id like "00N30000000mgnL2" i do not know how to get that unique id for that certain field...
please help... im very new to this, i do apologize... thanks!




jwelljwell
The Field ID is stored in the Lead Custom Field Definition Detail. You can get there by going to setup > customize > leads > fields. Scroll down to the custom field section and click on the field you want to get the ID for. The field ID will be in the url of this page so look for https://na6.salesforce.com/{field id}.

You could always just re-create the web to lead form by going through the setup process and selecting your newly created field.

Hope that helps
James