Copy link to clipboard
Copied
Lets I have these check boxes under a selection header: A, B, C, D and "Select All". When user check "Select All", it should also check A, B, C and D. Is it possible? Thanks in advance!
Copy link to clipboard
Copied
As the Mouse Up event of the "Select All" field enter something like this:
this.getField("A").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("B").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("C").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("D").checkThisBox(0, event.target.isBoxChecked(0));
etc.
Copy link to clipboard
Copied
Sure, but should it un-check them if the "Select All" box is un-checked itself?
Copy link to clipboard
Copied
Yes. Select all box will have the control over the other check boxes. For better understanding I am attaching a screenshot:
Copy link to clipboard
Copied
If possible, please tell me how I can do it. Thanks.
Copy link to clipboard
Copied
As the Mouse Up event of the "Select All" field enter something like this:
this.getField("A").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("B").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("C").checkThisBox(0, event.target.isBoxChecked(0));
this.getField("D").checkThisBox(0, event.target.isBoxChecked(0));
etc.
Copy link to clipboard
Copied
I do not get it. I'm sorry. How can you do that?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more