Adding row in tables

chantalh6331450

09-12-2016

How to set the remove row button in a position subform so it won't expand with the table row. When I try to wrap my button the script stops working.

This is my script for remove button:

tAns = xfa.host.messageBox("Are you sure you want to remove this item?","Remove item?",1,2)

       if (tAns ==4) {

    Table1._Row1.removeInstance(this.parent.index);

}

Script for add button:

Table2._Row1.addInstance(true);

Answers (0)