function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Newbie question: validating custom field names in web to lead forms

Does anyone know if there is a way to use the saleforce "id" value to input into salesforce instead of the "name" value (or any other value rather than the name). I want to validate a form I created with custom fields but I don't want to use the assigned number they gave to it.

For example, when a user submits the form, a pop-up box comes up and says "00N00000006pBHe is required". I'd rather it say "Your Name is required" but when I change the name value to read "your name" instead of "00N00000006pBHe" it doesn't get captured into salesforce.

Message Edited by ccutlerbrown on 02-22-2006 09:24 AM

Message Edited by ccutlerbrown on 02-22-2006 09:25 AM

You could change your validation function to return a "friendly name" rather than the field name to the user. That change shouldn't be too hard to do.

Is there a way (API) to translate from the '00N...' salesforce ID to the Custom Field Label?

And a slightly related question: is there a way (API) to determine the mapping from the Lead Custom Field names to the Contact/Account Field names?