How to Duplicate PDF Forms While Keeping Fields Unique
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.

- Product
- 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 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.
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.
Open your PDF editor, navigate to the 'Organize Pages' or 'Prepare Form' tool, and look for the 'Page Templates' option.
Name your current form page as a new template (e.g., 'FormTemplate') and ensure it is set to be visible.
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});).
Check the newly spawned page. The fields should now have a unique prefix allowing independent data entry without syncing with the original page.

Manually Duplicate Pages and Rename Fields
If you only need a few copies, you can manually duplicate the page and rename each field individually to sever the data link.
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. Open your PDF in WPS Office: Launch WPS Office and open your PDF document containing the form.
- 2. Navigate to the Form Tab: Click on the 'Form' tab to access interactive form creation and editing tools.
- 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.

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.




