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

checking to see atleast one check box is checked

littlea1ien
Registered: Nov 18 2008
Posts: 5

I am trying to figure out how to check if one check box out of a group is atleast checked before the file will print or be submitted? for example i have a list of 8 categories and atleast one or more has to be checked before sending or printed to be faxed to make sure we get valid data back. would love to get this answered asap

thanks

peter

My Product Information:
Acrobat Pro 8.1.2, Windows
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
Use the logical operator OR "||".

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

littlea1ien
Registered: Nov 18 2008
Posts: 5
well i dont know how to write a simple if else statement in acrobat i can understand some code but im lost when it comes to javascript if i can get a basic shell to modify to do this it would be absolutly great
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Since you are using Acrobat 8 pro with Windows, which form product are you using, Acrobat form or LiveCycle Designer?

LiveCycle Desinger has a "Scripting Reference" under its "Help" menu option.

You can get documentation for versions 5 - 8 at[url=http://www.adobe.com/devnet/acrobat/javascript.php]JavaScript for Acrobat[/url] . And [url=https://developer.mozilla.org/en/A_re-introduction_to_JavaScript]Mozilla JavaScript] will help with the JavaScript not covered by the Acrobat JavaScript beyond Acrobat's variation.

George Kaiser