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

Required fields in fillable forms don't work

Community Beginner ,
Jul 28, 2016 Jul 28, 2016

I'm creating a form with fillable fields.  I have set many of my fields as required (in properties) and then saved the form as a "Reader Extended pdf" file.

When the user fills out the form, they can save the form without filing out fields that were configured as "required".  How do I get the "required" property to require the fields to  be filled out?

TOPICS
Acrobat SDK and JavaScript , Windows
1.3K
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 ,
Jul 28, 2016 Jul 28, 2016

The required property is only used when the form is submitted. If you want to use it in other situations then a script is required.

It's important to know that it's not possible to entirely prevent someone from saving the file, but a script can force the fields in the saved copy to be empty, or to display an error message, for example.

I've developed a script that allows you do that, and you can find it here: 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
LEGEND ,
Jul 28, 2016 Jul 28, 2016
LATEST

This isn't an accident, it's considered vital that people can save an incomplete form to return to it later. When they are finished, they will submit it to your web server - and at that point the required fields will be checked.

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