• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

446

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
Community Expert ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

LATEST

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

Votes

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