August 23, 2019 WSM 0 Comments 321 Views 0 Likes Admin, Salesforce, Trailhead Validation Rules Examples in Salesforce If you are looking for validation rule examples then salesforce has shared a list of examples. In this post i am sharing list but i will also explain that how we need to write a validation rule. 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 PDF Document – Examples of Validation Rules
Leave a Comment