Avatar

Level 10

Hi,

I suspect that the script works for the first instance, Row1, but as soon as you add more instances, the script does not know which instance is referenced, Row1[0], Row1[1], Row1[2], etc. When using JavaScript to reference instances, you need to resolve the node of each instance.

There are some table examples here: http://www.assuredynamics.com/index.php/code-solutions/table-solutions/ If you have a look at the script that loops through the rows, you will see the loop and the xfa.resolveNode.

Hope that helps,

Niall