SF.I · Salesforce Administrator practice question

An administrator wants to prevent users from entering a negative number in a custom 'Quantity Ordered' field on a custom object. Which approach is best?

Choose one answer
Check answer and explanation

Correct answer: Create a Validation Rule checking that the field is less than 0 and display an error message

Explanation

A Validation Rule can check if the numeric value is below zero and block saving with a clear error message.

Common trap

A Validation Rule can check if the numeric value is below zero and block saving with a clear error message.

Source: Original unofficial practice; not an official Salesforce exam item
Checked against the cited text on 2026-11-30.

Report an error in this question