Find your content:

Search form

You are here

I need Help on validation rules

 
Share

I need assistance on creating Validation Rules on Account Object-

  • If the Vehicle Makes(Editable) field is populated, then the Franchise_Type_c must be populated.

  • If the Franchise_Type_c field is NOT populated, the following error message should be displayed” The Franchise Type is required”

These are custom fields on the Account Object.

  • Franchise Type (Franchise_Type__c)
  • Market Type (Market_Type__c)
  • Vehicle Makes(Editable) (DT_Input__c)

Attribution to: appu

Possible Suggestion/Solution #1

As your question is pretty much detailed, and you know your validation rules, I believe the process is pretty straight forward.

2 issues:

  1. Do you need 1 or 2 validation rules? (you can have what you need in a single or 2 seperated rules)
  2. Your first requirement is not needed. Since Franchise_Type__c is a required field.

BTW, did you think to change that in the Custom Field settings? You could change the Field 'Franchise_Type__c' into a required field.

Go to create a new validation rule

enter image description here

  • Click on New

Give a "Rule Name" and add Description

You than need to enter your criteria.

enter image description here

The Criteria will look something like this:

enter image description here


Attribution to: Saariko
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/3911

My Block Status

My Block Content