close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Field ID Name Changes

Thread began 3/22/2012 7:23 am by drdocb | Last modified 3/24/2012 9:25 am by drdocb | 1628 views | 5 replies

drdocb

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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...