thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Foundational

Validation Rule

Rule containing a formula that returns true when data is invalid, blocking the save and showing an error message.

Definition

Validation rules enforce data quality across the UI, API and imports. The error can display at the top of the page or next to a specific field. They run after before-save automation and before-triggers in the order of execution.

Example

AND(ISPICKVAL(StageName, "Closed Lost"), ISBLANK(Loss_Reason__c))

Exam tip

The formula must evaluate to TRUE for invalid data; exams often flip this logic.

Related terms