PDF Editing Issues

How to Add and Remove Rows in an Acrobat PDF Form

Ayan MasoodAyan Masood Nov 5, 2026 870 views

Question details

The user wants to know how to dynamically add and remove form rows containing Yes/No fields in Acrobat Pro 2017 or Acrobat Pro DC.

How to Add and Remove Rows in an Acrobat PDF Form
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
Creating or editing a dynamic PDF form where users can add additional rows of input fields as needed.
Observed behavior
Standard Acrobat PDF forms lack the native ability to dynamically insert new rows or expand page dimensions automatically, unlike specialized XFA forms.
Before you start

Before attempting to script dynamic rows, understand that standard PDF forms (AcroForms) have fixed page dimensions. The document cannot automatically expand its page length to accommodate new content.

Solution 1Recommended

Use JavaScript to Show or Hide Pre-Created Rows

Since Acrobat PDF forms cannot dynamically expand page dimensions, you can pre-build the maximum number of rows and use JavaScript to toggle their visibility based on user interaction.

This workaround requires you to reserve enough empty space on your PDF layout for all hidden rows. Because the page size is static, making a hidden row visible will not push other content down; it will simply appear in the designated empty space.

1
Design the maximum layout

Open your document in Acrobat, select the 'Prepare Form' tool, and create all the potential rows of fields (including Yes/No checkboxes) you anticipate a user might need.

2
Set default visibility to hidden

Right-click the fields in the extra rows, select 'Properties', go to the 'General' tab, and change the 'Form Field' property from 'Visible' to 'Hidden'.

3
Create an 'Add Row' trigger

Add a new button or checkbox to your form that users will click to reveal the next available row.

4
Apply a custom JavaScript action

Right-click the newly created button, go to 'Properties' > 'Actions', choose 'Run a JavaScript' on 'Mouse Up', and write a script to change the target fields' display property from hidden to visible.

Use JavaScript to Show or Hide Pre-Created Rows
Fixed Page Limits: Ensure you have adequate blank space at the bottom of your document layout. If you exceed the available visual space, the newly displayed rows will overlap with existing text or footers.
Free Microsoft Office alternative

Manage and Fill PDF Forms Easily with WPS Office

If you frequently work with standard PDF forms and need a fast, budget-friendly way to manage them, WPS Office provides an excellent comprehensive solution. It delivers robust PDF viewing, filling, and editing features alongside an integrated office suite.

Fully compatible with standard PDF forms, allowing you to fill, sign, and save effortlessly.Excellent compatibility with Microsoft Word, Excel, and PowerPoint file formats.Lightweight architecture ensures smooth performance without slowing down your system.Familiar, user-friendly interface that makes transitioning from other productivity suites seamless.
microsoft office alternative - wps office

Frequently Asked Questions

Can Adobe Acrobat automatically resize pages when I add a new form row?

No. Unlike web forms or dynamic XFA documents, standard Acrobat PDF forms (AcroForms) have static page boundaries. They cannot dynamically push content down or increase the physical page height.

Are XFA forms a better choice for dynamic tables?

Yes. If your workflow requires truly dynamic forms where rows can be added endlessly and the page expands automatically, an XFA form (typically created using Adobe Experience Manager or LiveCycle) is the correct architectural approach.

Why are the rows I added with JavaScript overlapping other text?

Because the page cannot expand, any hidden rows that are made visible via JavaScript will appear exactly where they were placed during the design phase. You must reserve dedicated, empty visual space for them to prevent overlapping with existing content.