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
Synthia B.Synthia B. 

Validation Rule -Yes or No

Before a task can be saved the user must choose Yes or No. I have no errors but I am still able to save the task with out choosing Yes or No. What am I missing? 

AND(
No__c = TRUE,
OR(
Yes__c = TRUE
)
)
Best Answer chosen by Synthia B.
Rajendra RathoreRajendra Rathore
Hi Synthia,

Use :
AND(
No__c = False,
Yes__c = False
)

Thanks,
Rajendra

All Answers

Rajendra RathoreRajendra Rathore
Hi Synthia,

Use :
AND(
No__c = False,
Yes__c = False
)

Thanks,
Rajendra
This was selected as the best answer
Synthia B.Synthia B.
Thank you Rajendra