Copy link to clipboard
Copied
I have a two page form that need to work off one another. What I am looking to do is that if one check box is checked, all other check boxes are greyed out/disabled. However, if the check box is uncheck then those other check boxes are still be able to be checked independently of the other.
Copy link to clipboard
Copied
As the Mouse Up event of the "master" check-box enter something like this:
var otherFields = ["Check Box2", "Check Box3"]; // enter field names here
for (var i in otherFields) {
var f = this.getField(otherFields);
if (event.target.value=="Off") {
f.readonly = false;
f.fillColor = color.transparent;
} else {
f.readonly = true;
f.fillColor = color.ltGray;
}
}
Copy link to clipboard
Copied
Worked like a charm! Thank you!!!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now