| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Contact Manager, Group,
Professional, Enterprise, Performance,
Unlimited, Developer, and Database.com
Editions |
For more information on any of the formula functions used in these examples, see Formula Operators and Functions.
Account Number Is Numeric
|
Description:
|
Validates that the Account Number is numeric if not
blank. |
| Formula: |
|
| Error Message: |
Account Number is not numeric. |
| Error Location: |
Account Number |
Account Number Length
|
Description:
|
Validates that the Account Number is exactly seven
digits (if it is not blank). The number seven is simply illustrative. You
can change this to any number you like. |
| Formula: |
|
| Error Message: |
Account Number must be seven digits. |
| Error Location: |
Account Number |
Annual Revenue Range
|
Description:
|
Validates that the account Annual Revenue is not
negative and does not exceed $100 billion. This limit is designed to catch
typos. |
| Formula: |
|
|
Error Message:
|
Annual Revenue cannot exceed 100 billion. |
| Error Location: |
Annual Revenue |