Highlighted

A check box that if checked, will mark multiple boxes

Avatar

Guest

26-03-2009

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!

Replies

Highlighted

Steve_L_Walker

26-03-2009

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