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
nickfs92840nickfs92840 

Checkbox Validation Rule

I  have a custom object with custom checkboxes, per the screenshot, how can I setup a "Select All" checkbox that will trigger 6 other checkboxes? Any help would be appreciated once again! Thank you in advance!

 

 

Click here for screenshot

Best Answer chosen by Admin (Salesforce Developers) 
Jeff MayJeff May

In your WF criteria, add a line checking to see if "Select All' equals true

All Answers

Jeff MayJeff May

You could use a WF that checks to see if 'Select All' is checked.  If it is, have 6 Field Updates that set the other fields to true. 

nickfs92840nickfs92840

How would I set that up? Thx

Jeff MayJeff May

In your WF criteria, add a line checking to see if "Select All' equals true

This was selected as the best answer
nickfs92840nickfs92840

Thank you!

nickfs92840nickfs92840

I do have one more question, I have set up the WF rules to check the boxes when the Select All is selected, however, the other checked boxes only become checked when the record is saved. Is there a way to have the checkboxes check when in edit mode? CLICK HERE to view screenshot

 

Thanks!

Jeff MayJeff May

I think you would need to write a custom VF page for that since the fields are displaying their current value.  To change the current value prior to actually saving the record, custom VF is needed.