Acrobat forms | JS to trigger a list of AND/OR fields to be completed after a check box?
Hi, I have the JS on a mouse up:
this.getField("Text Box 1").required = event.target.value!="Off";
to get a field (Text Box 1) to be required to be filled in if the check box is ticked, when preparing forms in Acrobat.
But I'm trying to find a way that it's one of (or up to) four boxes that needs to be filled in if the check box is ticked, not just one.
Can anyone help me with what the script would be to have a list of "text Box 1" AND/OR "text box 2" AND/OR "Text Box 3" please?
Having a "," between the values doesn't seem to work and I'm still learning JS - so help is much apprecaited, thank you 🙂
