How to Add Repeating Sections to an Acrobat Fillable Form
Question details
The user wants to know how to create a fillable PDF form where users can enter information for one person, click an 'Add Another' button, and reuse the same section to add more people on a single page.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating an interactive, dynamic fillable PDF form that requires multiple entries for different individuals without needing multiple duplicate pages.
- Observed behavior
- The form needs to dynamically preserve the existing values, create or reveal another set of fields, and clear the new set for the next person's data entry upon clicking a button.
Before proceeding, ensure your PDF editing software supports advanced form editing and JavaScript execution, as creating dynamic repeating sections requires custom scripting.
Use JavaScript to Reveal Pre-created Hidden Fields
The most reliable method to create repeating sections on a single page is to pre-create all possible fields, hide the extra ones, and use a JavaScript button to reveal them sequentially.
Dynamic PDF forms (XFA forms) natively support repeating subforms, but standard AcroForms require a workaround. By designing your layout with a set maximum number of entries (e.g., 5 rows), you can hide rows 2 through 5 by default and reveal them one by one as the user clicks the 'Add Another' button.
Open your PDF editor and use the form tools to draw all the necessary text fields for the maximum number of people you want to accommodate on the page. Name them systematically, such as 'Name.1', 'Name.2', etc.
Select the form fields for the second person onwards. Right-click, open their Properties, go to the General tab, and set their Form Field property to 'Hidden'.
Insert a 'Push Button' form control below your fields and label it 'Add Another Person'.
Right-click the button, select Properties, and go to the Actions tab. Set the trigger to 'Mouse Up', choose 'Run a JavaScript' from the action list, and click Add. Write a script that checks which fields are currently hidden and changes their display property to visible (e.g., using `getField("Name.2").display = display.visible`).

Dynamically Generate Fields Using the addField Method
For advanced users, JavaScript can be used to dynamically generate brand new form fields at specific coordinates when the 'Add Another' button is clicked.
Create Interactive Fillable Forms with WPS PDF
WPS Office provides a comprehensive PDF toolkit that lets you easily design, edit, and fill out interactive PDF forms. With intuitive form controls and wide compatibility, you can handle your PDF workflows without expensive software.
- 1. Open your document in WPS PDF: Launch WPS Office, open the PDF tool, and load the document you want to turn into a fillable form.
- 2. Access the Form tab: Navigate to the 'Form' tab on the top ribbon to reveal the interactive form control tools.
- 3. Insert form fields: Click on 'Text Field', 'Check Box', or 'Push Button', and drag on the page to place the controls where you need them.
- 4. Configure properties and actions: Double-click any added form control to open its properties, where you can rename it, adjust its appearance, or assign specific actions like resetting the form.

Frequently Asked Questions
Can I make repeating fields in a PDF without using JavaScript?
Generally, no. Standard AcroForms require JavaScript to perform dynamic actions like revealing hidden fields or generating new ones on the fly. Simple static forms do not have a native 'repeating section' toggle without scripting.
Will my dynamic 'Add Another' button work in all PDF viewers?
Not necessarily. JavaScript-heavy PDF forms are best viewed in full-featured desktop PDF editors like WPS PDF or Adobe Acrobat. Web browsers and basic mobile PDF viewers often restrict or completely disable advanced JavaScript, which may break the button's functionality.
How do I clear specific form fields for the next person's entry?
You can assign a 'Reset a form' action to a button. In the action properties, you will be prompted to select exactly which fields should be cleared. Alternatively, you can write a short JavaScript snippet to set specific field values to a blank string.




