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

Creating a "Agree to Terms and Conditions" checkbox

quimbydog
Registered: Jun 22 2009
Posts: 2

I need to have one of those ubiquitous "I agree to the Terms and Condtions" checkboxes at the bottom of my form. What I can't seem to figure out is how to make it required to be checked before the user can email the completed form back to me. For instance, if they don't check it, an error message will alert them to the fact that they must check the box to send it.

I feel like this is something simple and for some reason, I am missing it.

Any help appreciated!

Q

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This kind of feature will only work for an email submit button. If the user saves the form and then emails it manually you can't control it. But you could put a script in the "Save" event to let the user know that they have to "Agree" before sending the form back.

How it's actually done depends on the forms technology. Is this an AcroForm or a LiveCycle form?

Do a search on this forum for "Check Required" and you'll get some posts that discuss this issue.

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/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

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