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

Acrobat required field alert prior to printing

JDub
Registered: Jan 7 2010
Posts: 7

I've been scouring the forum and Javascript Tools Guide, testing several things, but not finding the solution I'm hoping for.

I'd like to add a warning to a print button warning that required fields are not filled in; which fields are blank, but still allows the user to print anyway after acknowledging that some required fields are missing.

Am I asking too much?

My hair is falling out, and I don't have much left to start with...

My Product Information:
Acrobat Pro 9.3.1, Macintosh
try67
Expert
Registered: Oct 30 2008
Posts: 2398
It's quite possible. You basically need to create a loop that goes over all the fields, checking if their are required, and if so, if they are filled in. If not, you save the field's name in a string and at the end present the string the user, asking them whether or not to print the file.

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