I'm using Adobe LiveCycle 10.4.0 ES2.0. I get confusing about using removeInstance(). I want to delete the row items based on parameter from data structure. And my codes seems noneffective. My codes in table layout:ready* is :
var numrows = xfa.resolveNodes("SRFS_PL_FINSTMNT_XSD_REP_DATA.bdyMain.tblLineItems.rowLineItem[*]").length;
for (var x=0; x < numrows; x++)
valFs = xfa.resolveNode("$record.LISTFINSTMNT.item[" + x + "].FSTYPE").value;
Actually, the result really delete some items, but it seems delete row items randomly. Can you please answer how to use removeInstance() if I want to delete row items depend on another parameter in table? Thanks.