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
RemediosRemedios 

Only 1 out of 3 check boxes to be checked off at a time

Can someone help me with this: I have three check boxes and only one should be checked at a time. If the user tries to check off another they'll get an error message. What is the best way to accomplish? Lets say Cbox1 Cbox2 and Cbox3

 

Thanks!

RemediosRemedios

Seems like this is working, if someone can doublecheck I;d be very grateful:

 

OR (CBox1 && CBox2, CBox1 && CBox3, CBox2 && CBox3)

NehaVNehaV

by Using this u can select only 1 or 2  Check boxes at a time.

 

OR ( 
SalesCloud__Check1__c && SalesCloud__Check2__c &&(SalesCloud__Check3__c), 
SalesCloud__Check1__c && SalesCloud__Check3__c && (SalesCloud__Check2__c), 
SalesCloud__Check2__c && SalesCloud__Check3__c && (SalesCloud__Check1__c ) 
)

Noam.dganiNoam.dgani

I would turn it into a picklist