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
CRMsimpleCRMsimple 

Validation Rule to prevent a checkbox from being selected

I have 4 checkbox fields and I like to prevent the user from checking more than 1. Is this possible?
AdminisaurusRexAdminisaurusRex

Value(IF(CHECKBOX_A ,"1","0")) +
Value(IF(CHECKBOX_B ,"1","0")) +
Value(IF(CHECKBOX_C ,"1","0")) +
Value(IF(CHECKBOX_D ,"1","0"))  >1

Try this out.