PDF Editing Issues

Copy an Acrobat PDF Form Field Value While Allowing Manual Overrides

Jason MillerJason Miller Nov 19, 2026 868 views

Question details

Copy a buyer name from one PDF form field to another while allowing the destination field to be edited independently.

Copy an Acrobat PDF Form Field Value While Allowing Manual Overrides
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A PDF form has a source buyer-name field and a separate destination field that should initially receive the same value.
Observed behavior
The destination should receive the source value, including an empty value, and remain editable afterward.
Before you start

Open the PDF in Adobe Acrobat and make sure it has two separate text fields with distinct names. Check the destination field's exact name in its properties and make sure it is not set to read-only.

Solution 1Recommended

Add a validation script to the source field in Acrobat

Use a source-field validation script to copy each committed value to the destination while leaving the destination editable.

1
Open the form editor

In Adobe Acrobat, open the PDF and select All tools > Prepare a form.

2
Check the destination field

Open the destination text field's Properties, note its exact Name, and clear Read Only on the General tab if it is selected.

3
Add the script

Open the source text field's Properties, select the Validate tab, and choose Run custom validation script. Select Edit and enter: this.getField("Field 3").value = event.value; Replace Field 3 with the exact destination field name.

4
Save and test the form

Save the PDF, leave Prepare a form, and enter a buyer name in the source field. Commit the entry, then edit the destination field to confirm that it accepts a manual override.

Add a validation script to the source field in Acrobat
Later source changes overwrite the destination: Changing the source again copies its new value to the destination, replacing any manual override. Clearing the source also clears the destination when the change is committed.
Free Microsoft Office alternative

Work with PDFs and Office documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office files, making it easy to move existing documents into a new workflow. It does not replace the Acrobat validation script described above.

Open and work with PDF documents alongside other office filesCompatible with Microsoft Office formats such as DOCX and XLSXFamiliar document, spreadsheet, and presentation interfaceLightweight tools for moving existing files into WPS Office
microsoft office alternative - wps office

Frequently Asked Questions

Where do I put the copy script in Acrobat?

In Prepare a form, open the source field's Properties and select Validate > Run custom validation script > Edit. Put the script on the source field, not the destination.

Can I change the destination field after it is copied?

Yes. Make sure Read Only is cleared in the destination field's General properties. A user can then edit the copied value, but a later change to the source will overwrite it.

What happens if the buyer name is cleared?

When the empty source value is committed, the validation script copies that empty value to the destination and clears it.

Why isn't the value appearing in the destination field?

Check that the name inside getField matches the destination field's Name in Properties exactly. Also confirm that the script is in the source field's Validate tab and that the source entry has been committed.