PDF Editing Issues

How to Duplicate PDF Forms While Keeping Fields Unique

Jason MillerJason Miller Oct 28, 2026 869 views

Question details

The user needs to duplicate a PDF form containing 15 fields multiple times within the same document without the duplicated fields sharing the same input values.

How to Duplicate PDF Forms While Keeping Fields Unique
Product
PDF
Device & OS
not provided
Scenario
Duplicating a standard form multiple times in a single PDF file to fill out different data on each page.
Observed behavior
By default, copying and pasting PDF form fields causes the duplicated fields to share the same name, resulting in the same data appearing simultaneously in all copies.
Before you start

Before duplicating pages, ensure your original PDF form fields are fully set up with the correct properties, formatting, and validations to avoid having to edit each duplicate individually later.

Solution 1Recommended

Spawn Pages Using PDF Templates and JavaScript

Convert your form page into a template and use a script to spawn new pages while automatically renaming the fields with a unique prefix.

This is the most efficient method for creating many duplicates of a form. By leveraging the Template object and Acrobat JavaScript, you can spawn identical pages where every field is automatically given a unique prefix (like P1, P2), ensuring that Acrobat treats them as completely separate inputs.

1
Open Page Templates

Open your PDF editor, navigate to the 'Organize Pages' or 'Prepare Form' tool, and look for the 'Page Templates' option.

2
Create a New Template

Name your current form page as a new template (e.g., 'FormTemplate') and ensure it is set to be visible.

3
Execute JavaScript to Spawn Pages

Open the JavaScript console and run a script using the getTemplate() method combined with spawn(), making sure to enable the bRename parameter (e.g., getTemplate('FormTemplate').spawn({nPage: pageNum, bRename: true, bOverlay: false});).

4
Verify Field Names

Check the newly spawned page. The fields should now have a unique prefix allowing independent data entry without syncing with the original page.

Spawn Pages Using PDF Templates and JavaScript
Scripting Considerations: When utilizing JavaScript to rename fields, be aware that any custom calculation or validation scripts referencing the old field names will need to be updated to match the newly generated unique names.
Complete PDF Form Management

Effortlessly Create and Duplicate PDF Forms with WPS Office

WPS Office provides powerful PDF editing tools that allow you to easily manage, create, and modify interactive PDF forms. Its intuitive interface simplifies page duplication and form field customization, saving you time.

  1. 1. Open your PDF in WPS Office: Launch WPS Office and open your PDF document containing the form.
  2. 2. Navigate to the Form Tab: Click on the 'Form' tab to access interactive form creation and editing tools.
  3. 3. Manage Pages and Fields: Use the 'Page' tab to duplicate your form pages, then return to the 'Form' tab to adjust field properties to ensure independent data entry.
Seamlessly duplicate, insert, and extract PDF pages.Fully compatible with standard PDF forms and Adobe Acrobat files.Intuitive form field editing for text boxes, checkboxes, and dropdowns.Lightweight and fast PDF processing for large documents.
microsoft office alternative - wps office

Frequently Asked Questions

Why does typing in one PDF field fill in another field automatically?

This happens when multiple form fields in the document share the exact same 'Name' property. PDF software links fields with identical names, mirroring their data. To fix this, change the name of one of the fields in the form properties.

Can I duplicate form fields without copying the page?

Yes, you can copy and paste form fields directly within the same page. However, you must immediately open the properties of the pasted field and change its name; otherwise, it will duplicate the data entered into the original field.

Is there an easier way to duplicate forms besides using JavaScript?

If you do not want to use JavaScript to spawn templates with renamed fields, your best alternative is manually duplicating the page and individually renaming each field, or using third-party PDF form duplication plugins designed specifically for this task.