Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

A check box that if checked, will mark multiple boxes

Avatar

Not applicable
I am trying to create a form in Adobe Designer that will allow me to check one check box which would then automatically check multiple check boxes when it is filled out.



Any answers would help! Thank you!
1 Reply

Avatar

Level 10
If you have three checkboxes (cb1, cb2, and cb3) the following script on the cb1 change event will set cb2 and cb3, where '1' is the default 'On' value.



form1.subform1.cb1::change - (JavaScript, client)



if (cb1.rawValue == "1") {

cb2.rawValue = "1";

cb3.rawValue = "1";

}

else {

cb2.rawValue = "0";

cb3.rawValue = "0";

}



Steve