Skip to Content
avatar image
Former Member

Dynamically rows of table in interactive form creates new row with copied values from last row

Hi All,

I have a new Interactive Adobe form which has a ADD button in the table control to add new rows.

This is achieved by using the following script at click event of the add row button

(Script language is java script)

xfa.resolveNode("Table.item").instanceManager.addInstance(1);

here table is the table name and item is the row name.

Further, this script perfectly help us achieving the functionality, but now the issue comes with the moment we press ADD to add third line or more, the new added row gets generated correctly , but along with copied values from the previous(second) row.

This is very peculiar and happens only for when we try adding third or more rows. This behaviour is never noticed while adding the Second Row.

we want only blank rows to be added and not the values from previous row.

Kindly Help with any logic to control this in the Script.

Thanks in advance.

Regards,

Anishek Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers