Add a row to table via js

Copy link to clipboard
Copied
Hello there,
is it possible to add row to a existing table in a pdf form with js, where each cell of the new row contains a form-fileds.
thx.
Copy link to clipboard
Copied
You can add fields using JavaScript, yes, but you can't use it to "re-flow" the document, so you'll have to leave empty space on the page for the additional rows, in advance.
Instead of adding additional fields you can spawn whole pages, though. So when the user reaches the last line of the table they could use a button to generate a new page with an empty table. This would require setting up a Template object and a script to spawn it.

Copy link to clipboard
Copied
I also found a section about XFA in the "Developing Acrobat Applications Using JavaScript". And ask myself if I can use functionality offered by the XFA plug-in just with js or do I need Adobe LiveCycle Designer to create dynamic PDF Form file?
Copy link to clipboard
Copied
To create XFA forms you need LiveCycle Designer.
Copy link to clipboard
Copied
It is possible to do do this in LiveCycle but not Acrobat..

