Skip to main content
Why does the Web-to-Lead generator switch to using field ID's rather than field names?

 

This part of the generated code uses the name:

 

<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>

 

But this part uses the ID:

 

W2L Account:<input  id="00Ni000000CHGPM" maxlength="255" name="00Ni000000CHGPM" size="20" type="text" /><br>

 

 
2 respuestas
  1. 26 sept 2018, 19:01
    The default fields will have the field name and custom fields have the ID. Not sure why ... maybe in case someone inadvertantly changes the API name .... at least it would not break the W2L form?