Field ID Name Changes
I am using the latest Form Builder to create Web To lead for our Salesforce Account. Salesforce web interface requires their field names and generates an html template for you. I finally figured out why the form stops working everytime i modify and regenerate it in Form Builder and would love a way to stop this error.
The Salesforce Numerical ID's are being changed from leading 00 to _0 every time and I need to manually go through each one and correct it
example
<input id="0NE0000000mXHj" name="0NE0000000mXHj" type="text" value="" class="formTextfield_Medium" tabindex="15" />
Gets changed BACK to (see the leading 0 is repleced by an '_').
<input id="_0NE0000000mXHj" name="_0NE0000000mXHj" type="text" value=""
class="formTextfield_Medium" tabindex="15" />
This occurs even when the Name appears correct in the edit screen of Form Builder I have a screen shot just prior to the rebuild where the Name Field is 0NE0000000mXHj but after the form build the code is
<input id="_0NE0000000mXHj" name="_0NE0000000mXHj" type="text" value="" class="formTextfield_Medium" tabindex="15" />
So Salesforce does not equate the ID and I need to edit each one in Dreamweaver since it still appears as '00' in Form Builder
It appears Spry variables need that _ format but the field ID does not for it to work - the spry validation remains valid even after I change the ID back to '00' from '_0' in DW
The Spry Code for the same field is
<span id="_0NE0000000mXHj_Spry">
<input id="_0NE0000000mXHj" name="_0NE0000000mXHj" type="text" value="" class="formTextfield_Medium" tabindex="15" />
<span class="textfieldRequiredMsg">Please enter a value</span> </span>
But it still validates the field as required. I realize once i get the form as i want it, hand edit the ID's and leave it it will work but it makes me reticent to use Form Builder to modify small things on that form because even a color change triggers a compilation and reverts ALL of those 00 field Names to _0's
larry