Answered
What script allows one to select a checkbox upon clicking a button?
Our clinical assistants need to be able to click on an image and have a checkbox selected in another area of the Acrobat PDF describing the clinical image for our patients.
Thanks so much for your help!
Dr. B
getField("checkbox1").value = "Yes";
where "checkbox1" is the name of the checkbox and "Yes" is the export value.
If you ever need to programmatically uncheck a checkbox, set the field's value to the string "Off", but not "off", OFF, 0, false, or anything else.
George