Answered
I am using addInstance and removeInstance to add and remove lines in a table. Adding works flawlessly. Removing takes the first added line... ie., added lines 6, 7, and 8; removes line 6, then 7, then 8. Can anyone provide suggestions as to how to remove the last line first?
Thanks in advance!
rpeterson
Table._line.addInstance(1); // Adds a row to the end of the table
xfa.form.recalculate(1);and 1 button to the line (row) of the table with this JavaScript
line.removeInstance(this.parent.index); //Removes the current row of the table
xfa.form.recalculate(1);
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs