PDF Editing Issues

Lock Fillable PDF Form Fields After Completion in Adobe Acrobat

Natalie TaylorNatalie Taylor Nov 19, 2026 868 views

Question details

Create a fillable PDF form whose completed fields can be locked before the recipient returns it.

Lock Fillable PDF Form Fields After Completion in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A recipient completes a PDF form and returns a version that is no longer readily editable.
Observed behavior
The desired workflow lets the recipient complete the form, lock its fields, and save or submit the completed PDF.
Before you start

Prepare the fillable fields in Adobe Acrobat and confirm which PDF application recipients will use. Test whether that application supports PDF JavaScript or digital signatures, depending on the locking method you choose.

Solution 1Recommended

Add a button that makes completed fields read-only

Use a JavaScript button when recipients can run PDF JavaScript and will save or send the completed form separately.

This method sets form fields to read-only; it does not flatten the PDF or prevent someone with suitable editing tools from changing the fields.

1
Open the form editor

Open the PDF in Adobe Acrobat and choose All tools > Prepare a form.

2
Add a lock button

Select the button field tool, place a button on the form, and label it something like Lock completed form.

3
Configure the action

Open the button's Properties, select the Actions tab, choose Mouse Up as the trigger and Run a JavaScript as the action, then select Add.

4
Enter the script

In the JavaScript editor, enter: for (var i = 0; i < this.numFields; i++) { var f = this.getField(this.getNthFieldName(i)); if (f && f.type !== 'button' && f.type !== 'signature') f.readonly = true; }

5
Test and return the form

Save the form, open it in the recipient's PDF application, fill it out, and click the lock button. Confirm the fields are read-only, then use File > Save As and return the saved PDF through the agreed channel.

Add a button that makes completed fields read-only
Locking is separate from submission: The button does not send the form. PDF JavaScript may be disabled or unsupported in some viewers, so test the complete workflow before distributing it.
Free Microsoft Office alternative

Use WPS Office for everyday PDF and document work

WPS Office is a free, lightweight alternative for working with PDFs and Office documents in a familiar interface. Its format compatibility helps you move existing files into your workflow; use Acrobat or another compatible PDF tool when you need the form-locking actions described above.

Open and review PDF forms alongside other documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for a smoother move from Microsoft OfficeLightweight, free tools for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Does making PDF fields read-only flatten the form?

No. A read-only action leaves the form fields in the PDF but prevents ordinary editing through those fields. Flattening is a different process that converts the field appearances into page content.

Will the lock button work in every PDF viewer?

No. The viewer must support PDF JavaScript and allow it to run. Test the button in the recipient's application before sending out the form.

Does the JavaScript button automatically email the completed form?

No. The example only makes fields read-only. The recipient must save the completed PDF and return it separately, unless you configure and test a separate submission workflow.

Can someone change a form after its fields are set to read-only?

Read-only fields discourage ordinary edits but are not a security guarantee. A person with suitable PDF editing tools may be able to change the field settings.

How do I lock fields when the recipient signs?

In Acrobat's Prepare a form tool, open the signature field's Properties. On the Signed tab, enable Mark as read-only and select the fields to lock when the signature is applied.