+ Start a Discussion
Pr@wnPr@wn 

I know its going to be simple..

Hi there

 

Please help me out with validation rule for saying that email ID has to be entered in a specific format as in 'abcd@xyz.com'. I am new to formulas and validation rules.

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
Steve MolisSteve Molis

If the datatype of the field is set to Email you don't need a VR, SFDC will automatically validate the formatting.  If the datatype is TEXT then you'll need a REGEX function, unfortunately there is no beat all end all REGEX VR for emails.

All Answers

Steve MolisSteve Molis

If the datatype of the field is set to Email you don't need a VR, SFDC will automatically validate the formatting.  If the datatype is TEXT then you'll need a REGEX function, unfortunately there is no beat all end all REGEX VR for emails.

This was selected as the best answer
Pr@wnPr@wn

Thanks much

 

That was informative. I am new to this and learning it all by myself. So that answers why I'm asking such questions.

 

Anyways thanks again :)