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

Text Fields Required

cstark1
Registered: Feb 10 2011
Posts: 2

I am not sure where to post this but I have two things I need help with:
1. I have created a form using Adobe LiveCycle and have selected User Required on the Object Value tab for some Text Fields, drop down fields and check boxes. Yet when I test it using Adobe Professional or Adobe Reader it never has a message or stops me from saving or printing. Any idea what I may be doing wrong?
 
2. In my form there are some areas that if you fill in one box you will not be allowed to choose an other box. For example if you type in a number of exemptions you are not allowed to select another box choosing you are completly exempt. I have seen some posts with specific java script, but nothing quite what I need.
 
Thank you in advance,
Christy

Christy

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
1. Making a field "Required" or "Mandatory" means that it is checked for a null value before form submission. This doesn't have a lot of meaning for checkboxes, it's mostly for text fields. "Required" has no affect on print or save. If you want some kind of warning for these operations you'll need to write some code in the PreSave and PrePrint events.

2. You'll need to use an event on the first box to set the "access" and/or "presence" property of the other field. Unfortunately there isn't a built-in property for disabling a field. But there is a way. Look at the article:
Disabling Fields

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