This video explained to add the record type selection from the web to lead form and set specific record type value in web to lead, saved as html file then entered data has been created as records in Salesforce Lead object.
- from select drop down field in the drop down field name/id should be recordType
<select id=”recordType” name=”recordType”><option value=””>–None–</option><option value=”0122v000001SnN3“>Business A</option><option value=”0122v000001SnN8″>Business B</option><option value=”0122v000001SnSK”>Business C</option></select>0122v000001SnN3 – here 15 digit ID for Record Type
- hidden field for recordType is mandatory and change/modify as per the salesforce instance record type id (15 digit id)
<input type=hidden name=”recordType” value=”0122v000001SnN8″>
- From Setup -> Lead Settings -> Enable Record Type Setting as Keep the existing record type under Lead Conversion Settings section
Related Posts and Series for Salesforce Web-To-Lead: http://theblogreaders.com/salesforce-web-lead/