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
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 :-/Steve :-/

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 :-/Steve :-/

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 :)