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

How can I prevent Adobe from printing a form if a required field is left blank?

New Here ,
May 24, 2016 May 24, 2016

I've created a fillable form and have a couple of fields that I have marked as required.

I want adobe to prevent the user from printing the form if the required fields are left blank.

I've already marked the fields as "required," but am still able to print the form even if the required fields are blank.

I'd like adobe to stop me from printing if the required fields are left blank.

Please help.

TOPICS
Acrobat SDK and JavaScript , Windows
306
Translate
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
LEGEND ,
May 24, 2016 May 24, 2016

You cannot. You could display a field with a warning. Remember the OS print actions are still possible. Use the will print action.

Translate
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 ,
May 24, 2016 May 24, 2016
LATEST

As mentioned, you can't really prevent it. However, you can use a script to force the form to print out a blank copy, or to show an error message. See this tool I've developed for just that purpose: Custom-made Adobe Scripts: Acrobat -- Validate Required Fields Before Printing or Saving

Translate
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