How to Add Repeating Fields with a PDF Form Button in Acrobat
Question details
The user wants to create an interactive PDF form button (like "+ Add Another URL") that dynamically adds or reveals a new set of form fields when clicked.

- Product
- Adobe Acrobat / PDF Forms
- Device & OS
- not provided
- Scenario
- Creating an interactive PDF form where respondents need the ability to add multiple entries for a specific data type without cluttering the default view.
- Observed behavior
- Standard PDF editors do not natively support dynamically expanding or repeating fields, requiring a workaround to simulate this interactive behavior.
Ensure you have access to a PDF editor with advanced interactive form creation tools and that you have determined the maximum number of repeating fields you want to allow on the page.
Use a Show/Hide Field Button Workaround
Since standard PDF formats do not support truly dynamic expanding fields, you can simulate this by pre-creating all fields and hiding them behind a clickable button.
PDF pages have fixed dimensions and do not natively support expanding fields like web-based HTML forms do. To achieve a "repeating field" effect, you must pre-allocate the space on your document and create all the possible fields in advance.
By overlaying a large, opaque button on top of these additional fields, you can keep them hidden from the user. When the user clicks the button, an action triggers the button to hide itself, instantly revealing the fields underneath.
Use your PDF form editing tools to add all the extra text fields you want to eventually reveal (e.g., URL 2, URL 3) onto the document canvas.
Select the 'Button' form control tool and draw a large button that completely covers the additional fields you just created.
Double-click the button to open its Properties. Set the fill color to white (or match your document's background) and add a label such as '+ Add Another URL'.
In the button's Properties, navigate to the 'Actions' tab. Select 'Mouse Up' as the trigger, and choose 'Show/Hide a field' from the Select Action dropdown.
Click 'Add', then select the white covering button itself from the list of fields. Set its state to 'Hide'. Click OK and close the properties. When clicked, the button will disappear, revealing the fields.

Create Interactive PDF Forms with WPS Office
Easily design, edit, and fill out interactive PDF forms using WPS Office. Whether you need to insert text fields, checkboxes, or interactive buttons, WPS provides an intuitive interface to handle complex PDF form requirements efficiently.
- 1. Open your PDF: Launch WPS Office and open the PDF document you wish to convert into an interactive form.
- 2. Access form tools: Navigate to the 'Form' tab in the top ribbon to reveal the interactive form controls.
- 3. Insert form controls: Click on 'Push Button', 'Text Field', or other controls, then click and drag on your document to place them.
- 4. Modify properties: Double-click any placed form control to open its Properties panel, where you can adjust its appearance, name, and interactive actions.
- 5. Save the form: Once your fields and buttons are configured, save the document to preserve the interactive PDF form.

Frequently Asked Questions
Can I make PDF fields truly dynamic so the page expands automatically?
Standard static PDFs (Acroforms) do not support page expansion or responsive layouts. To achieve truly dynamic expanding fields, you would need to use XFA forms (created in LiveCycle Designer) or migrate to a web-based HTML form.
How do I reset the form to hide the fields again?
You can add a standard 'Reset Form' button. In the button's properties under the Actions tab, add an action to reset your text fields, and a second 'Show/Hide a field' action to make the white covering button visible again.
Is there a limit to how many repeating fields I can add using this workaround?
Yes, the limit is strictly determined by the physical space available on your fixed-size PDF page. You can only add as many hidden fields as will physically fit within the page margins.
Will these interactive buttons work on mobile PDF viewers?
Show/Hide field actions rely on JavaScript support within the PDF viewer. While desktop applications like Adobe Acrobat and WPS Office fully support this, many default mobile PDF readers may not execute the script, meaning the button might not hide when tapped.




