PDF Editing Issues

How to Require PDF Form Fields Before Saving in Adobe Reader

Ayan MasoodAyan Masood Oct 28, 2026 869 views

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.

How to Require PDF Form Fields Before Saving in Adobe Reader
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Document JavaScripts

In Adobe Acrobat Pro, navigate to the 'Tools' pane, select 'JavaScript', and click on 'Document JavaScripts'.

2
Create a New Script

Type a name for your script (e.g., 'CheckRequiredFields') and click 'Add' to open the JavaScript Editor.

3
Add WillSave Event Code

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.

4
Bind to the Save Action

Ensure this validation script is bound to the 'WillSave' action by setting up a document action via 'Tools' > 'JavaScript' > 'Set Document Actions'.

Use a Document-Level JavaScript Workaround
JavaScript Limitations: If the end-user has JavaScript disabled in their PDF viewer's preferences, this workaround will not execute, and they will be able to save the incomplete form normally.
Create Fillable PDFs in WPS Office

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. 1. Open WPS PDF: Launch WPS Office and open your PDF document using the dedicated PDF tab.
  2. 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to reveal all interactive form control tools.
  3. 3. Insert Form Fields: Click on 'Text Field', 'Check Box', or 'Button', and drag across the page to place the element.
  4. 4. Set as Required: Double-click the inserted field to open the Properties menu, check the 'Required' option, and save your document.
Easily insert interactive text fields, checkboxes, drop-down menus, and action buttons.Set specific form fields as 'Required' with just one click to streamline data collection.Fully compatible with standard PDF formats, ensuring forms open perfectly in Microsoft Edge, Chrome, and Adobe Reader.Edit, compress, and secure your PDF documents seamlessly within a familiar user interface.
QA img-9

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.