How to Add Expandable Plus and Minus Rows to a PDF Form
Question details
The user wants to create a dynamic PDF form with plus and minus buttons that allow users to add or remove rows as needed.

- Product
- Device & OS
- not provided
- Scenario
- Creating an interactive and dynamic PDF form for data collection.
- Observed behavior
- The goal is to implement dynamic row addition and removal functionality, which is often seen in advanced XFA forms but not natively supported by standard AcroForm tools.
Determine whether your PDF form is a standard AcroForm or an XFA form. True dynamic row functionality that reflows the page layout typically requires specific XFA design software rather than standard PDF editors.
Create Dynamic Rows Using Adobe LiveCycle Designer or AEM Forms
The most robust way to create expandable rows that push down page content is by using XFA-based form design tools.
Standard AcroForms (created directly in standard PDF editors) do not natively support dynamic page reflow. Dynamic row behavior usually indicates the form was created using an XFA tool like Adobe LiveCycle Designer or AEM Forms.
Launch Adobe LiveCycle Designer or AEM Forms Designer and create a new form.
Create a table and wrap it in a subform. Set the subform's content type to 'Flowed' so the layout adjusts when rows are added.
Insert a button for 'Add Row' (Plus). Configure its click event using JavaScript or FormCalc to invoke the addInstance() method for the target row.
Insert a button for 'Remove Row' (Minus). Configure its click event to invoke the removeInstance() method for the target row.
Save your file as a Dynamic XML Form to preserve the interactive layout features.

Inspect and Replicate JavaScript in Existing AcroForms
If you are restricted to standard AcroForms, you can mimic dynamic rows by pre-creating hidden fields and using JavaScript to show or hide them.
Easily Edit and Fill Standard PDF Forms with WPS Office
While advanced dynamic XFA forms require specialized enterprise tools, WPS Office provides a lightweight, free alternative for handling your everyday document needs, including creating, editing, and filling standard PDF forms seamlessly.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
- 2. Open your PDF: Launch WPS PDF and open your standard interactive PDF form.
- 3. Fill and save: Click on the form fields to input your data, then save the document securely.

Frequently Asked Questions
Why can't I add dynamic rows in standard Adobe Acrobat?
Standard Adobe Acrobat creates AcroForms, which have a fixed layout. Dynamic rows require the document layout to reflow and push content down, which is a feature of XFA (XML Forms Architecture) forms typically created in Adobe LiveCycle Designer.
Can I fill out dynamic XFA forms in WPS Office?
WPS Office supports viewing, editing, and filling standard AcroForms perfectly. However, complex dynamic XFA forms with expandable rows rely on proprietary Adobe technologies and may require Adobe Acrobat Reader to function correctly.
Is there a workaround for dynamic rows without using LiveCycle?
Yes, you can create a fixed number of hidden rows in a standard PDF form and use JavaScript attached to plus/minus buttons to toggle their visibility. However, this will not dynamically push down the content below the table.




