In web to lead concept, From website Phone numbers come in mostly as 0123456789, this needs to save default to 0123 456 789 in salesforce. Also, the name store in salesforce from web to lead, in which first letter should be capital. Please Help.

2 Answers 2


To build in validations and formatting in your web to lead form, you have to do some css styling and client side coding e.g. Javascript. You may find some interesting Javascript recipies for field formatting and validations on code.activestate.com.


You can either:

1) Write some javascript on the web form to validate the phone number

2) Write logic on the Salesforce end - perhaps an APEX trigger or a workflow


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .