Copy link to clipboard
Copied
Basically, as seen here, I've run into a bit of a hiccup with the form. I want the person filling it out to be able to multi select "morning/afternoon/evening" but if "not applicable" is selected, I want the checks in the other boxes to be erased. I am assuming it has to be a script to do so, I just don't know how, and I can't seem to find the answer here or on an internet search.
Copy link to clipboard
Copied
As the Mouse Up event of that field, enter the following script:
if (event.target.value!="Off") this.resetForm(["Morning", "Afternoon", "Evening"]);
(replace strings with actual field names, of course)
Copy link to clipboard
Copied
As the Mouse Up event of that field, enter the following script:
if (event.target.value!="Off") this.resetForm(["Morning", "Afternoon", "Evening"]);
(replace strings with actual field names, of course)
Copy link to clipboard
Copied
Just tested it in the preview, and worked great! Just did the same thing but in reverse for the other 3 boxes to uncheck the "N/A" if there's a check in the other ones. I have a few big ones coming up at the end of the form, so this works out handsomely.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now