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

Form - Only Visible Fields Required

markojett
Registered: Dec 21 2009
Posts: 22

I have a form in which if you click on a check box, a field becomes visible. Actually, there are dozens of these check boxes with hidden/visible fields.
 
Is there a way to make just these fields required only when visible? If the user wants to print or save, they must fill in these visible fields while the form ignores the hidden fields. Thanks all!

My Product Information:
Acrobat Pro 8.1, Windows
maxwyss
Registered: Jul 25 2006
Posts: 255
The primary issue is that Acrobat does not provide the funcitonality to prevent saving or printing if required fields are not filled out. The "required" property is only honored by the Submit actions.

You can, however, do validation. You may require the user to use button fields YOU inserted into the form, which would provide the Save or Print functionality.

Saving may be a bit tricky, but the workaround would be to consolidate all calculations into one single hidden field. The Calculate script of that field then evaluates the required fields and shows the Print and Save buttons only when everything is OK. Having consolidated the calculations into one single script will also put the least overhead load on the form, meaning that it will act fastest (compared to a form with many individual field's calculations).

Hope this can help.

Max Wyss.