Copy link to clipboard
Copied
Hello,
I'm new to JavaScript and I'm trying to develop a script to check multiple check boxes when the first one is checked. When check box 3 is checked, I need check boxes, 9, 12, 15, and 18 to be checked automatically.
Any help would be greatly appreciated! Thank you.
Copy link to clipboard
Copied
What happens to check box 3 when a user checks 9, 12, 15, and 18? What if they check box 3 and then uncheck 9 manually after the script checks it automatically?
Copy link to clipboard
Copied
Hi.
You don't need JavaScript.
Just give to the boxes, 9, 12, 15, and 18 exactly the same name and the same export value than the checkbox 3.
Copy link to clipboard
Copied
... but then if the user checks box 9 (for example), then 3, 12, 15, and 18 also get checked.
Copy link to clipboard
Copied
Yes, I hope that this is that Jess wants…
Copy link to clipboard
Copied
Thanks, all. Yes, in this case all or none of the boxes in question should be checked.
Again, this is all new to me so how do I "give to the boxes, 9, 12, 15, and 18 exactly the same name and the same export value than the checkbox 3."?
Thank you!
Copy link to clipboard
Copied
Okay, I actually figured this out by right clicking on the check box field and updating the names, then ensuring that the export values are all set to 'yes' under properties.
Thank you! This is amazing!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now