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

recordType and web-to-lead (recordType not setting with web-to-lead submission)

Hey all, 


We have a pretty simple web-to-lead form online, . Nothing complex, and most of the data submits without any issue.


However, recordType does not submit successfully. Whatever we do, it defaults to the 1st choice, rather than the value we need it to set. Here's our code:



<select style="display:none;" id="recordType" name="recordType"><option value="012400000005Udz">Potential Volunteer</option></select>I've also tried:<input type="hidden" id="recordType" name="recordType" value="012400000005Udz">


Does anyone have suggestions about why recordType isn't setting correctly? Anything else we can check?