These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

CheckBox Exporting

MSP
Registered: Sep 16 2008
Posts: 25
Answered

Hello,

I am using checkboxes to mark pages and need to know where the exportValues places the information exported. I also need to know how to go about collecting the exported information. Thanks!

MSP

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The export value in a check box, or a radio button, is the fields value when the checkBox, or Radio Button, is checked.

For example, if you have a check box named "MyCheck", with an export Value of "Yes", which is the default. Then you would acquire the check boxes value like this
var ckVal = this.getField("MyCheck").value;if(chVal == "Yes")app.alert("This check box is checked");elseapp.alert("The check box is off");

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

MSP
Registered: Sep 16 2008
Posts: 25
Awesome Thanks!