How to Automatically Repeat PDF Form Field Values Across Pages
Question details
The user needs to automatically populate multiple PDF form fields with the same value entered into a single source field.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Creating or filling out a PDF form with repetitive data, such as names or dates, across multiple tables or pages.
- Observed behavior
- The goal is to have the value entered in one form field automatically mirror in other designated fields without requiring manual re-entry.
Ensure you are using a PDF editing application that supports form creation and editing, and verify that the target fields are intended to hold the exact same data format as the source field.
Use Identical Form Field Names
The simplest and most universally supported way to duplicate data across a PDF form is to assign the exact same field name to all text fields that should share the value.
PDF specifications allow multiple form fields to share the same name. When fields share a name, PDF readers automatically synchronize their contents. If a user types a value into one of these fields, all other fields with that identical name will instantly display the same value.
Open your PDF in your form editing software and activate the Form Editing or Prepare Form mode.
Right-click the primary text field where users will first enter their data, select Properties, and take note of the exact text in the 'Name' field.
Select the target fields where you want the value to repeat. Open the Properties for each target field and change their 'Name' attribute to perfectly match the source field's name.
Exit form editing mode and save the PDF. Type a value into the source field and press Enter or click away to see the text automatically mirror across all identical fields.

Use Custom JavaScript for Form Fields
If you need more control, such as copying values to differently named fields or calculating secondary values, you can use document-level or field-level JavaScript.
Create and Automate PDF Forms Easily with WPS Office
WPS PDF provides intuitive tools for creating interactive PDF forms, making it simple to add text fields, checkboxes, and modify field properties to automate data entry without complex coding.
- 1. Open the PDF in WPS Office: Launch WPS Office, open your PDF document, and navigate to the 'Form' tab on the top ribbon.
- 2. Insert Form Fields: Click 'Text Field' to insert a new form box. Right-click the newly created field and select 'Properties'.
- 3. Assign Identical Names: In the Properties panel, give the field a specific Name. To repeat values, simply insert another text field in your desired location and type the exact same Name into its properties.
- 4. Preview the Automation: Click 'Close Form Editing' to test the form. Typing in the first field will now automatically populate the duplicated fields.

Frequently Asked Questions
Why isn't my duplicated PDF field updating immediately?
Sometimes the mirrored field will not visibly update until the source field loses focus. You need to click outside the original field, press 'Enter', or press 'Tab' to confirm the input and trigger the duplication across the document.
Can I make the copied field read-only so users don't change it?
Yes. If you use the identical name method, you can set the target field's properties to 'Read-Only'. This prevents users from altering the mirrored data directly in the target location, while still allowing the primary source field to populate it automatically.
Does auto-repeating text work on mobile PDF readers?
Fields configured with identical names will generally mirror perfectly on standard mobile PDF readers, as this is a core built-in feature of the PDF format. However, complex JavaScript-based mirroring may not be supported on all mobile viewer apps.




