Copy link to clipboard
Copied
I would like to know what script to use to have a value assigned (value of 1) to a checked box (named 1-1) only when checked.
Copy link to clipboard
Copied
For widgets such as a check box or radio buttons you don't need a script to assign itself a value.
For example, if you're trying to use an equation executed in another field that needs to add the value of one (1) to the total value when the checbox is checked, you may assign an export value to the checkbox manually.
Depending on what exactly are you trying to achieve, you can employ a conditional script that can check for the Off status of the check box.
You can execute such script as Mouse-Up event from the check box field itself or as a custom calculation script from another field object (i.e. dropdown menu, listbox, textfields).
Copy link to clipboard
Copied
Read This:
https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm
Copy link to clipboard
Copied