Useful Validation Rules in : asagarwal

Useful Validation Rules in
by: asagarwal
blow post content copied from
click here to view original post

Here is the link to a cheat sheet for some useful validation rules that you can incorporate in

Some of the validation rules that I found useful are

  • Postal code is in correct format if the country is Canada or US
  • State is valid if the country is Canada or US
  • Country is a valid 2 letter ISO code
  • Number entered is even or odd number
  • Number entered is a multiple of another number
  • Phone number is in (999) 999-9999 format
  • Date entered is a weekday or weekend
  • Date entered is the last day of the month
  • Conditionally require a field based on the value of other field
  • Only the record owner can make changes to a particular field
  • Cross object validation rules

References & Useful URLs

The post Useful Validation Rules in appeared first on

August 28, 2022 at 06:47AM
Click here for more details...

The original post is available in by asagarwal
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.