Validation rules
Validation is important to keep the records clean and avoid users from entering junk data. Salesforce provides the ability to validate data of each record that can be written in a formula to prevent users from entering wrong or unwanted data. Validation uses the formula we discussed to check for the error scenario. The error can be thrown at the global level (page level) and the field level.
The navigation path for the validation rule for a standard object is Setup | Customize | [Object Name] | Validation Rules. Alternatively, for newer orgs, we can also it find through Build | Accounts | Validation Rules. The navigation path for the validation rule for a custom object is Setup | Objects | Validation Rules.
Let's draft a validation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access