Avatar

Level 9

I have a table with row 1 visible and row 2 that appears when the "Add a New Row" button is clicked. If the user clicks the "Delete Last Row" button, the last row is deleted. I want the "Delete Last Row" button  to only be visible when there is more than one row visible.

This script does not work:

 

if (Page1.Subform2.Table1._Row2.count =< 1){

this.presence = "visible";

}

else {

this.presence = "invisible"; 

}