+ Start a Discussion
RobKretzRobKretz 

Validation Rule w/in Opportunities ( Help Please)

We have a checkbox field in Opportunities called " Focused"

 

Need a rule to stop the Save

 

Ex: If Focused is TRUE - these fields become required in order to save.

 

Those fields include:

 

Where is the need for our service?

What bases are not covered?

Who is our coach?

Drivers not to buy with us?

 

Thanks in advance!

 

Best Answer chosen by Admin (Salesforce Developers) 
SteveMo__cSteveMo__c

What is the datatype of the other fields?  

 

If they are just text fields your VR would be something like this:

 

AND(CheckboxField__c = TRUE,
ISBLANK(TextField_1__c),
ISBLANK(TextField_2__c),
ISBLANK(TextField_3__c),
ISBLANK(TextField_4__c))

 

 

All Answers

SteveMo__cSteveMo__c

What is the datatype of the other fields?  

 

If they are just text fields your VR would be something like this:

 

AND(CheckboxField__c = TRUE,
ISBLANK(TextField_1__c),
ISBLANK(TextField_2__c),
ISBLANK(TextField_3__c),
ISBLANK(TextField_4__c))

 

 

This was selected as the best answer
RobKretzRobKretz

They're text . This rule should work. I'll reply to confirm. 

Thank you. 

 

I think you've helped me before.. recognize the quote. I think I  owe you a beer too..