PDF form to print using Javascript required fields

New Here ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

I created a PDF form, and some fields are required. Once my co-workers fill out the form they must print it and sign it. The problem is, some of them avoid the required fields and go straight to print the form.

I was wondering if there's a JavaScript to set the print button to not let users print unless they have fill out the required fields?

Or at least get a message warning saying they need to fill out those fields.

Thank you

TOPICS
Acrobat SDK and JavaScript, Windows

Views

299

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

You can't prevent the file from being printed entirely, but you can show an error message, either on the file itself or in an alert window, and it's even possible to force the file to print without any form data. See this tool I've developed, exactly for this purpose: Custom-made Adobe Scripts: Acrobat -- Validate Required Fields Before Printing or Saving

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines