How to Make a Fillable PDF Read-Only and Prevent Saving Data
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.

- Product
- 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.
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.
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.
Open your PDF form in a professional PDF editor that supports JavaScript configuration, such as Adobe Acrobat or WPS Office.
Navigate to the interactive form settings and look for 'Document Actions' or 'JavaScript settings'.
Select the 'Will Save' or 'Document Open' action trigger and add a new JavaScript action.
Enter the script `this.resetForm();` into the editor and apply the changes. Now, whenever the file is saved, the fields will empty automatically.

Host the File on a Read-Only Network Folder
Place the file in a restricted network environment to prevent users from saving changes over the original file.
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. Open Your PDF: Download and launch WPS Office, then open the PDF form you wish to modify or protect.
- 2. Configure Form Fields: Navigate to the 'Form' tab to insert, adjust, or delete text fields, checkboxes, and interactive buttons.
- 3. Apply Permissions: Switch to the 'Protect' tab to set encryption passwords or restrict editing and printing permissions.
- 4. Save and Share: Save your newly configured PDF document and distribute it securely to your users.

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.




