How to Create a PDF Form Users Can Only Print (Prevent Saving)
Question details
The user wants to create a fillable PDF form that allows users to input data and print the document, but strictly prevents them from saving or retaining the completed data.

- Product
- Device & OS
- not provided
- Scenario
- Distributing a single-use or highly secure PDF form where local data retention by the end-user is prohibited.
- Observed behavior
- Modern PDF readers allow users to save filled forms by default, and there is no native setting to completely disable the 'Save' or 'Save As' function without affecting the entire file accessibility.
Before attempting to restrict saving, be aware that modern PDF software allows users to save filled forms by default. Absolute restriction is not natively possible, but you can use JavaScript or system-level file attributes to discourage or overwrite saved data.
Use Document JavaScript to Reset Fields Upon Saving
Attach a script to the PDF that automatically clears all entered data when the user attempts to save the file, ensuring the saved copy remains blank.
While you cannot entirely disable the 'Save' button in modern PDF readers, you can attach a document-level JavaScript action. This script wipes the form fields clean just before or immediately after the document is saved. This means if a user saves the file, they are only saving a blank form.
Launch an advanced PDF editor that supports JavaScript (such as WPS Office Pro or Adobe Acrobat) and open your fillable PDF form.
Navigate to the 'Form' or 'JavaScript' tools menu, and select 'Document Actions' or 'Document JavaScripts'.
Select the 'Will Save' event trigger. Enter a simple JavaScript command like 'this.resetForm();' and save the script. This ensures the fields are cleared immediately before the save action executes.
Fill out the form, print it to verify functionality, and then attempt to save it. Reopen the saved file to ensure all fields have successfully reset to blank.

Set the PDF File Attribute to Read-Only
Change the file properties at the operating system level to prevent accidental overwriting of the original blank file.
Create and Manage PDF Forms with WPS Office
WPS Office offers a comprehensive suite of PDF tools, allowing you to easily create fillable forms, manage document security, and edit PDFs seamlessly.
- 1. Open WPS Office: Launch WPS Office and open your PDF document within the PDF editor.
- 2. Create form fields: Navigate to the 'Form' tab to add fillable fields like text boxes, radio buttons, or checkboxes to your document.
- 3. Apply restrictions: Click the 'Protect' tab to apply password encryption or restrict editing and printing permissions as needed.
- 4. Save and distribute: Save your newly created form and share it with your users securely.

Frequently Asked Questions
Why did older PDF readers prevent saving forms automatically?
In older versions of PDF readers (like early versions of Adobe Reader), saving filled form data required special extended rights to be added by the document creator. Modern PDF readers now allow saving filled forms by default to improve convenience and user experience.
Can I completely disable the 'Save As' button in a PDF?
No, standard PDF specifications do not allow authors to completely disable the 'Save As' or 'Save' function in PDF readers. End users can always save a local copy of the file they are currently viewing.
Are PDF security passwords enough to stop users from saving data?
No. While PDF permission passwords can restrict editing, copying text, and printing, they cannot restrict a user from saving a local copy of the file along with any data they have typed into the form fields.
Will setting a PDF to read-only stop users from keeping the data?
Setting a file to read-only at the system level only prevents users from overwriting the original file directly. They can still use the 'Save As' option within the PDF reader to save a new copy containing their filled data.




