Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now