We have 2 web-to-lead forms on our new website. Both forms use the exact same fields - we just want them to come in as different Lead Record Types.
In order to do this, i added the fields we need in your code generator and included the lead record type as a field. When we developed the form, the Lead Record Type field is hidden to the user, so depending on the form they're on, it automatically sends the Lead Record Type we want into sales force.
The correct code for the record type is passing to salesforce. However, every lead is coming in as the same record type: "Other."
I have some screenshots of what we're passing to SF as well as the code SF generated for the form in the first place. But I figured I'd give the overview before we got into the details.
Any help here would be greatly appreciated.