The following Validation Formula can be used as a reference.
AND(Account_Market = "Corporate", Test = "")
This will give an error message if "Test" has no value when Account Market is "Corporate".
1. Click Setup.
2. Click Customize | [the object you need to modify] | Validation Rules.
3. Click New.
4. Enter the Validation Rule name.
5. Set the Validation Formula as per the suggestion above, feel free to adapt to your needs.
6. Set the error message that the User will receive.
7. Click Save.
1.Click the gear icon then Setup
2. Click Object Manager | [the object you need to modify] | Validation Rules.
3. Click New.
4. Enter the Validation Rule name.
5. Set the Validation Formula as per the suggestion above, feel free to adapt to your needs.
6. Set the error message that the User will receive.
7. Click Save.
For assistance with your specific formula, visit the Salesforce Trailblazer Developer Community.
Validation Rules
Examples of Validation Rules
Trailhead -
Create Validation Rules
000385092

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.