Hello
I'm trying to fill a text field with data from a dynamic table. So I know how many item are in the table with the instancemanager.count function. I need help getting the data from the dynamic table and inserting it into one text field followed by comma.
Example:
Dynamic table : row[1]: DATA_01
row[2]: DATA_02
row[3]: DATA_03
...
I would like the textbox to automatically populate with the data in this format: DATA_01, DATA_02, DATA_03... and continue if there are more data.
I started with the code below but it doesn't do the job.
var Count = form1.page2.DATA_history.instanceManager.count;
var temp;
for (var i = 0; i<Count; i++)
{
temp = xfa.resolveNode("form1.page2.PO_history[" + i + "]").DATA.rawValue; // this seem to get the last row entry only.
this.rawValue = this.rawValue + temp;
}
I hope I was clear, but if anyone need clarification please ask. Thank you.