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

Validate fields before printing

libraboy
Registered: Dec 14 2007
Posts: 94

Hi Guys,

I need some help on how to validate selected fields before you print the document form like order form using button or the print command?

Thanks in advanced!

My Product Information:
LiveCycle Designer, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
This solution works with Acrobat forms. You have to adjust these JavaScripts for LiveCycle.

The following code loops through all fields, allowing you to verify, check, or validate each field before the form is submitted. The code could be used, for example, as part of the action for a “Submit” button.

for (var i=0; i

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.