How to Require PDF Form Fields Before Saving in Adobe Reader
Question details
The user wants to prevent users from saving a fillable PDF form in Adobe Reader until all mandatory form fields have been completed.

- Product
- Adobe Acrobat Pro XI
- Device & OS
- not provided
- Scenario
- Distributing a PDF form to users and attempting to enforce data entry by restricting the ability to save the document if required fields are blank.
- Observed behavior
- Adobe Acrobat and Adobe Reader natively allow users to save a PDF file even if form fields marked as 'Required' are left completely empty.
Understand that the PDF specification inherently allows saving incomplete forms so users can finish them later. Required fields are typically only enforced during printing or form submission. To interfere with saving, you will need to apply document-level JavaScript.
Use a Document-Level JavaScript Workaround
Since native saving cannot be blocked, apply a script to trigger an alert or manipulate data when the user attempts to save.
It is not possible to completely disable the native 'Save' or 'Save As' functions in Adobe Reader. However, you can attach a JavaScript function to the document's 'WillSave' event.
This script can check if required fields are filled and display a warning alert to the user. Some advanced third-party scripts can even be configured to clear the document's data if saved while incomplete, effectively forcing a blank save.
In Adobe Acrobat Pro, navigate to the 'Tools' pane, select 'JavaScript', and click on 'Document JavaScripts'.
Type a name for your script (e.g., 'CheckRequiredFields') and click 'Add' to open the JavaScript Editor.
Write a script that loops through your form fields, checks for empty values on required fields, and triggers an 'app.alert' warning if any are found.
Ensure this validation script is bound to the 'WillSave' action by setting up a document action via 'Tools' > 'JavaScript' > 'Set Document Actions'.

Enforce Required Fields Using a Submit Button
Shift your validation strategy from the file 'Save' action to a digital 'Submit Form' action, which natively enforces required fields.
Design and Manage PDF Forms Easily with WPS PDF
WPS Office offers a robust built-in PDF editor that allows you to create interactive fillable forms, designate required fields, and manage document submissions effortlessly, providing a lightweight and cost-effective alternative to Adobe Acrobat.
- 1. Open WPS PDF: Launch WPS Office and open your PDF document using the dedicated PDF tab.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to reveal all interactive form control tools.
- 3. Insert Form Fields: Click on 'Text Field', 'Check Box', or 'Button', and drag across the page to place the element.
- 4. Set as Required: Double-click the inserted field to open the Properties menu, check the 'Required' option, and save your document.

Frequently Asked Questions
Why does Adobe Reader allow users to save a PDF with empty required fields?
The standard PDF specification enforces required fields during data extraction actions, such as clicking a 'Submit' button, rather than during file saving. This intentional design allows users to save their progress on lengthy forms and return to complete them later.
Can I completely hide or disable the 'Save' button in Adobe Acrobat?
No, standard security settings and document-level JavaScript cannot remove, hide, or disable the native 'Save' and 'Save As' menu commands in Adobe Acrobat or Reader.
Is it possible to prevent a PDF from printing if required fields are empty?
Yes. You can add a JavaScript action triggered by the document's 'WillPrint' event. The script can check for empty required fields and automatically cancel the print job if the validation fails.
Do required PDF form fields work on mobile PDF viewers?
Native required field enforcement works on most major mobile PDF apps during form submission. However, custom JavaScript validations designed to intercept saving or printing are rarely supported on mobile platforms.




