Copy link to clipboard
Copied
I have a list of checkboxes, they arent synced. When I check them the default export value is Yes for the checkboxes. When I connect it to my programm it is only getting the Yes value of the ones selected but I would Also like for it to recieve the no value when its not slected. How would I do that. because when I go back to trying to edit then it will only allow me to edit the Yes values.
Copy link to clipboard
Copied
The value of a unselected checkbox is Off.
Copy link to clipboard
Copied
How would I set it to Off?
Copy link to clipboard
Copied
Read this primer on checkboxes in Acrobat forms:
https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm
Copy link to clipboard
Copied
Do you mean how do you clear it? Or how do you set the value that is used when the field is not ticked? The former can be done like this:
this.getField("CheckBox1").value = "Off";
The latter is not possible. It's always set to "Off", and can't be changed.