Adobe Checkboxes

New Here ,
Jun 17, 2022 Jun 17, 2022

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.

TOPICS
Create PDFs , PDF forms

Views

42

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

The value of a unselected checkbox is Off.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

How would I set it to Off?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

Read this primer on checkboxes in Acrobat forms:

https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 18, 2022 Jun 18, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines