Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Product Discussion
- :
- Re: Web to Lead Form HTML Validation Errors
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Web to Lead Form HTML Validation Errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-05-2009 09:29 AM
Not sure where to post this but I am recieving htlm validation errors on custom form field ID's.
<input type="hidden" name="00N40000001ug5L" id="00N40000001ug5L" value="1" />
Apparently id's cant start with a number like the '0' above. Any ideas on how to work around this?
Re: Web to Lead Form HTML Validation Errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2009 11:55 AM
Re: Web to Lead Form HTML Validation Errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2009 12:47 PM
Re: Web to Lead Form HTML Validation Errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-08-2009 09:00 PM
I had the same issue and submitted a case (02353515) to Support. Here's the response I got:
"My apologies for the delay in getting this reponse to you.
We are generating code that is not valid for customer fields. These fields cannot be used in scripting.
However, what we support is the generated code, and not scripted code on a customer website.
You have a couple of options:
1. Build the form in whatever format, and only worry about the IDs that salesforce requires when they actually do the POST. The POST can be done with your owncustomer code, rather than a form POST button.
2. Create an API integration rather than using Web2Lead.
Neither of these are as easy as scripting, but this behavior won't change for at least the next couple of releases. "
Rhonda
Re: Web to Lead Form HTML Validation Errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-11-2009 01:23 PM
Wow, that's a little cryptic. I would have contacted support for this issue but I'm now going on 4 months with no response (outside the automated garbage) on my last case.
I ended up replacing the ID's with some text and everything passed through and validated just fine. We are using ringlead which may be a factor as to why it still functions with a random ID.

