Copy link to clipboard
Copied
How would I write in javascript for forms tagging that X should be true when Y is not true? Is there a way to do this in tagging without javascript? I have tried all operators of !=, ===, etc.
Copy link to clipboard
Copied
Please explain in more detail what you mean. How is this related to forms? What kind of fields are you referring to? etc.
Copy link to clipboard
Copied
On a PDF, I have two checkboxes: one is checked by the user, and I want the other checkbox to check automatically whenever the first checkbox is not selected.
Copy link to clipboard
Copied
And un-check automatically when the first box is checked?
Copy link to clipboard
Copied
Yes
Copy link to clipboard
Copied
Use this code as the Mouse Up event of the first check-box (adjust the field name as necessary):
this.getField("Check Box2").checkThisBox(0, event.target.value=="Off");
Copy link to clipboard
Copied
On a PDF, I have two checkboxes: one is checked by the user, and I want the other checkbox to check automatically whenever the first checkbox is not selected.