Delete row 1 buttons on repeatable tables
i have button in row1 of repeating table adds additional rows. want able hide of these buttons clicking button located @ bottom of form. can tell me how script count table instances , set presence of each button "invisible"?
this script not work:
var vrows = table1.instancemanager.count;
for (i=vrows;i>0;i--){
xfa.resolvenode("table1[" + + "]").row1.button1.presence = "invisible";
}
i able solve myself. script works is:
var nrows = xfa.resolvenodes("table1[*].row1[*]");
for (var i=0; i<nrows.length; i++)
{
nrows.item(i).subform13.addquestionbutton.presence = "invisible";
nrows.item(i).subform13.deletelastquestionbutton.presence = "invisible";
}
More discussions in LiveCycle Designer
adobe
Comments
Post a Comment