How to Add or Delete Dynamic Rows in Adobe Acrobat Forms
Question details
The user needs a way to add or remove dynamic table rows inside an Adobe Acrobat PDF form.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating or filling out PDF forms that require a flexible number of data entry rows.
- Observed behavior
- Standard AcroForms use a fixed layout and do not natively support dynamic table rows that users can freely add or remove.
Before proceeding, determine whether a strict PDF format is mandatory, as true dynamic layouts often require HTML or specialized XML-based form solutions instead of standard AcroForms.
Use JavaScript to Simulate Dynamic Rows in Acrobat
Since Acrobat does not support native dynamic tables, you can use JavaScript and hidden fields to create a simulated experience.
Standard Acrobat AcroForms rely on fixed page coordinates, making true dynamic reflowing tables impossible. However, you can pre-build the maximum expected number of rows and use JavaScript to show or hide them based on user interaction.
Open your document in the Prepare Form tool and manually draw all potential form fields (rows) your table might ever need.
Right-click the fields in the rows you want hidden by default, select 'Properties', go to the 'General' tab, and change 'Form Field' to 'Hidden'.
Insert a button field below the table. In its Properties under the 'Actions' tab, select 'Run a JavaScript' for the 'Mouse Up' trigger. Write a script that checks for the next hidden row and changes its visibility to 'Visible'.
Create another button next to the first one. Assign a JavaScript action that clears the data of the last visible row and reverts its visibility back to 'Hidden'.

Use Alternative Form Technologies for True Dynamic Content
If your form heavily relies on expanding and contracting tables, consider migrating to formats designed natively for dynamic reflow.
Create and Edit Documents Easily with WPS Office
While standard PDF forms have inherent layout limitations, WPS Office offers a free, lightweight, and highly compatible suite for creating dynamic Word documents, Excel spreadsheets, and standard PDFs with a familiar user interface.

Frequently Asked Questions
Why can't I simply insert a table into an Acrobat PDF form?
Standard PDF AcroForms are designed with a fixed layout based on exact page coordinates. Unlike word processors, they do not natively support reflowing text or dynamic table objects that push surrounding content down when new data is added.
What is the difference between AcroForms and XFA forms?
AcroForms are standard, fixed-layout PDF forms supported by almost all PDF viewers. XFA forms (created in Adobe LiveCycle or AEM) are XML-based and support dynamic layouts like expanding rows, but they require specialized enterprise software to create and are not fully supported by many standard PDF readers.
Can I use Word or WPS Writer to create a form with dynamic rows?
Yes, word processing software like Microsoft Word and WPS Writer allows you to create tables where users can freely add or delete rows. However, if you export that document into a standard PDF form, the layout becomes fixed and the table loses its dynamic capabilities.




