Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Delete row 1 buttons on repeatable tables

$
0
0

I have a button in Row1 of a repeating table that adds additional rows. I want to be able to hide all of these buttons by clicking another button located at the bottom of the form. Can you tell me how to script to count the table instances and then set the presence of each button to be "invisible"?

 

This is my script that does not work:

 

var vRows = Table1.instanceManager.count;

for (i=vRows;i>0;i--){

xfa.resolveNode("Table1[" + i + "]").Row1.button1.presence = "invisible";

}


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>