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
HARDIK KALATHIYAHARDIK KALATHIYA 

Validation rule to make sure that one out of two check boxes should not be selected at one time.

I am new and Im very confused to achive a small thing. Please help.
Best Answer chosen by HARDIK KALATHIYA
Anuj PatelAnuj Patel
Hi Hardik,

All you have to do is put them in AND.

AND(field1, field2)

and it will throw an erro if both of them are selected.

Please mark it as a best answer and like it if it helps .
Thanks,
Anuj.