function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matt PicherMatt Picher 

Validation Rule Help - If a specific picklist value is chosen than a custom checkbox cannot be true

Hello, 

I am trying to create a rule that prevents users from checking off a checkbox if they choose specific values from a picklist. 

The picklist for our logged calls is labeled Type, and if options A or B are chosen, they should not be able to check off a custom checkbox. That checkbox should only be able to be TRUE if any of the other types have been selected. 

Can anyone help me nail this down?! Much appreciated!
Best Answer chosen by Matt Picher
Shri RajShri Raj
AND( OR( ISPICKVAL(Type, "A"), ISPICKVAL(Type, "B") ), Custom_Checkbox__c )

 

All Answers

Shri RajShri Raj
AND( OR( ISPICKVAL(Type, "A"), ISPICKVAL(Type, "B") ), Custom_Checkbox__c )

 
This was selected as the best answer
Matt PicherMatt Picher
This worked perfectly - thank you!