I have a two tables with a header and one row, two columns.
Fields are named "Name" and "Address".
The row is repeatable with an "Add Row" button.
One table will be visible to the user the other hidden.
I am trying to get the data that the user enters into however many rows they create to populate the other table in the same way.
Here's my script from what you shared with me. What do I have wrong?
var rowNodes = Form1.Visible1.Table1.Row1.instanceManager.count;
for(var nNodeCount=0; nNodeCount<rowNodes;nNodeCount++)
{
Hide1.Table1.Row1.instanceManager.addInstance();
xfa.resolveNode("Form1.Hide1.Table1.Row1[" + nNodeCount +"].Name").rawValue = xfa.resolveNode("Form1.Visible1.Table1.Row1["+ nNodeCount + "].Name").rawValue;
xfa.resolveNode("Form1.Hide1.Table1.Row1[" + nNodeCount + "].Address").rawValue = xfa.resolveNode("Form1.Visible1.Table1.Row1[" + nNodeCount + "].Address").rawValue;
}