Salesforce Web-to-Lead: Set Record Type
September 11, 2013 / / Comments Off on Salesforce Web-to-Lead: Set Record Type
CompanyA has 3 separate web forms from 3 separate web pages. All of the lead records should be captured into the same Salesforce instance. In order to differentiate them, multiple record types are created in Salesforce.
- Generate 3x Web-to-Lead form from Salesforce. Each form will capture different fields
- Get Record Type ID from each Record Type in Salesforce
- Manually edit the Web-to-Lead form and add an additional hidden field that looks like this: