Create Independent Checkbox Groups on PDF Copies in Adobe Acrobat
Question details
Create copies of a PDF student page with independent checkbox fields while preserving the relationships between fields on each page.

- Product
- Adobe Acrobat Pro
- Device & OS
- not provided
- Scenario
- A form page must be copied for multiple students, with each student able to complete their own checkboxes.
- Observed behavior
- Checkboxes with identical field names on duplicated pages share values, so a change on one copy can appear on others.
Check the first page in Prepare a Form and confirm that its field names and checkbox relationships work as intended. You will need Acrobat Pro with page templates and JavaScript available for the template method.
Spawn the Student Page Template with Unique Field Names
Use this method to create multiple page copies with automatically renamed fields.
Spawning a page template with bRename set to true adds a unique prefix to the copied field names. Fields that belong to the same group on the source page retain their relationship within each spawned copy.
In Acrobat Pro, open the PDF and select Prepare a Form. From the More menu, open Page Templates, select the student page, and add a template named StudentPage.
Open Acrobat's JavaScript console with Ctrl+J on Windows or Command+J on macOS. Replace StudentPage in the script if you used a different template name.
Enter and run this script in the console: var t = this.getTemplate("StudentPage"); for (var i = 0; i < 26; i++) { t.spawn({nPage: this.numPages, bRename: true, bOverlay: false}); } This adds 26 copies after the existing pages.
In Prepare a Form, inspect the new field names. Select checkboxes on two different student pages to verify that their values are independent, then choose File > Save.

Generate Copies with Uniquely Named Form Fields
Use a form-generation script or tool when template spawning is not suitable for your workflow.
Create Separate Student Form Fields in WPS PDF
For a smaller form, use WPS PDF's form-editing tools to add fields with student-specific names. This is a manual alternative to Acrobat's automatic template spawning; form-editing availability may depend on your WPS version and plan.
- 1. Open the PDF: Open WPS Office, select Open, and choose the PDF containing the student pages.
- 2. Add form fields: Open the PDF Forms tools, if available in your version, and choose Check Box to add fields to a student page.
- 3. Name fields by student: Open each field's properties and assign names such as student01_choice1 and student02_choice1. Use consistent page-specific naming for related controls, and configure their properties as needed.
- 4. Test and save: Exit form editing, select fields on different student pages to check that they behave independently, and use Save As to save the completed PDF.

Frequently Asked Questions
Why do checkboxes on copied PDF pages change together?
PDF controls with the same field name represent the same field. Duplicating a page can retain those names, causing copies to share values.
How many pages does the sample script create?
The loop spawns 26 additional pages. Change the number in i < 26 to create a different number of copies.
Will renaming the fields preserve radio-button groups?
When Acrobat spawns a template with bRename set to true, it applies a unique prefix to the copied fields, preserving the field-name relationship within that copy. Test each group, especially if it uses custom scripts.
Can I use the original student page as one of the copies?
Yes. The spawn script adds pages without removing the original. Test the original and spawned pages to confirm that their fields are independent.




