How to Make an Interactive PDF Read-Only After Saving
Question details
The user wants to configure an interactive PDF so that any replaced text and images are saved and the document automatically becomes read-only when reopened in Adobe Reader.

- Product
- Adobe Acrobat / Adobe Reader
- Device & OS
- not provided
- Scenario
- Distributing an interactive PDF form where end-users fill in text and swap images, requiring the final submitted file to lock and prevent further changes.
- Observed behavior
- Adobe Reader does not natively or automatically convert filled interactive documents to read-only upon saving without a deliberate JavaScript action or specific workflow restriction.
Keep in mind that making form fields read-only immediately upon saving can prevent users from saving a partially completed form to finish later. It is best to apply final restrictions only after the form is fully completed.
Use a Custom JavaScript 'Lock and Save' Button
Add a dedicated button to your interactive PDF that runs a script to make all fields read-only before prompting the user to save the document.
Because Adobe Reader does not automatically restrict a document after a standard save action, you must create a deliberate trigger. Assigning a JavaScript action to a 'Submit' or 'Lock Form' button ensures the document is intentionally finalized.
Open your interactive PDF in Adobe Acrobat Pro DC. Go to the 'Prepare Form' tool and add a new Button field to the bottom of your document.
Double-click the button to open its Properties dialog. Navigate to the 'Actions' tab.
Under 'Select Action', choose 'Run a JavaScript' and click 'Add'. Enter a script that loops through all form fields and sets their 'readonly' property to true.
Include a command in the same script to execute a 'Save As' menu item, prompting the user to save the newly locked version of the PDF.

Flatten the PDF via Print to PDF
If scripting is not an option, users can manually flatten the PDF by printing it to a new PDF file, rendering all interactive elements uneditable.
Secure and Flatten PDF Forms with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily fill interactive forms, replace images, and flatten documents to make them read-only in just a few clicks. It is a lightweight, fully compatible alternative for all your document management needs.
- 1. Open the PDF: Launch WPS Office and open your interactive PDF document in the WPS PDF tool.
- 2. Fill the form: Input your desired text and click on image fields to replace them as needed.
- 3. Flatten the document: Navigate to the 'Protect' or 'Edit' tab and select the 'Flatten' option to merge form fields into the static document.
- 4. Save as Read-Only: Go to 'Menu' > 'Save As' to export the newly flattened, read-only PDF document to your device.

Frequently Asked Questions
Why can't my users edit image fields in Adobe Reader?
In Adobe Reader, users can only edit or replace images if the specific field was originally configured as a button-field icon (image field) in Acrobat Pro DC. Standard image objects cannot be manipulated in the free Reader.
Will making the PDF read-only prevent users from saving their progress?
Yes. If a document is scripted to become read-only immediately upon saving, users will not be able to save a partially filled form to finish later. Restrictions should only be applied to the final completed workflow.
Can I automatically lock an interactive PDF just by using the standard Save menu?
No, Acrobat Reader does not automatically convert interactive documents to read-only upon a standard save action. You must implement custom JavaScript or use a deliberate submission workflow to lock the fields.




