PDF Security & Access Issues

How to Make a Fillable PDF Read-Only and Prevent Saving Data

John WilsonJohn Wilson Nov 3, 2026 869 views

Question details

The user wants to know if it is possible to create a fillable PDF form that allows users to enter data but strictly prevents them from saving that entered information locally.

Can a Fillable PDF Be Read-Only and Prevent Users from Saving Data?
Product
PDF
Device & OS
not provided
Scenario
Distributing a fillable PDF form where users need to fill out information (e.g., to print) but the form creator wants to restrict the ability to save the completed form.
Observed behavior
Standard PDF permissions and passwords do not offer a reliable built-in way to allow form filling while entirely blocking the local save functionality.
Before you start

Keep in mind that preventing users from saving a filled form goes against standard user expectations. Always inform users beforehand if their data will not be saved to prevent frustration.

Solution 1Recommended

Use Document JavaScript to Reset Fields on Save

Add a custom script to the PDF that automatically clears all entered data when the user attempts to save or open the document.

While standard PDF permissions cannot explicitly block saving a filled form, you can use document-level JavaScript to achieve a similar effect. By triggering a form reset before saving, the user ends up saving a blank form instead of the filled data.

1
Open PDF in an Advanced Editor

Open your PDF form in a professional PDF editor that supports JavaScript configuration, such as Adobe Acrobat or WPS Office.

2
Access Document Actions

Navigate to the interactive form settings and look for 'Document Actions' or 'JavaScript settings'.

3
Add Will Save Script

Select the 'Will Save' or 'Document Open' action trigger and add a new JavaScript action.

4
Input the Reset Command

Enter the script `this.resetForm();` into the editor and apply the changes. Now, whenever the file is saved, the fields will empty automatically.

Use Document JavaScript to Reset Fields on Save
User Experience Warning: This workaround is generally not recommended as a standard practice because users fully expect the data they enter into a form to be saved safely.
Manage PDF Forms Easily

Edit and Protect PDF Forms with WPS Office

WPS Office provides comprehensive PDF tools that allow you to create interactive fillable forms, apply document security passwords, and manage PDF permissions effectively in a user-friendly interface.

  1. 1. Open Your PDF: Download and launch WPS Office, then open the PDF form you wish to modify or protect.
  2. 2. Configure Form Fields: Navigate to the 'Form' tab to insert, adjust, or delete text fields, checkboxes, and interactive buttons.
  3. 3. Apply Permissions: Switch to the 'Protect' tab to set encryption passwords or restrict editing and printing permissions.
  4. 4. Save and Share: Save your newly configured PDF document and distribute it securely to your users.
Easily create, edit, and fill interactive PDF formsSet robust passwords and restrict document editing permissionsHighly compatible with standard Adobe Acrobat PDF formatsLightweight, fast, and free to download
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't standard PDF password protection prevent saving filled data?

Standard PDF permissions can restrict structural editing, printing, or copying. However, if the permission for 'form filling' is explicitly allowed, the software naturally allows the user to save the newly filled state as a local document.

Will setting the file to 'Read-only' in Windows prevent all saving?

No. While checking the 'Read-only' property in Windows prevents users from overwriting the original file, they can simply use the 'Save As' function to save a new copy containing their filled data on their own computer.

Is there a way to force users to print the form instead of saving?

You can add a prominent custom 'Print Form' button using PDF form tools and omit any 'Save' button. However, you cannot completely disable the PDF reader's native File > Save menu using standard features.