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
Pumpkin4020Pumpkin4020 

Create a validation rule

Hello,

I created a new custom field called "Reqeustor Email" (this is a text field) and I want to create a validation rule so it must be an email address to save a record.

Can you help me out?

werewolfwerewolf
Why did you make it a text field instead of making it an email-type field?  Just setting that field's type to email instead of text would be vastly easier.
Michael BarrowMichael Barrow

Did you ever get an answer or solution to this? I have the exact same scenario. My app needs a field to be text and I need to validate it for some record types to be a valid email address. Wondering if you have some fancy regex for a validation rule for that?

 

Thanks,

Michael