Basic JavaScript Looping in Adobe LiveCycle Designer®

A HowTo video on using a JavaScript “for” loop to test and remove instances of repeatable table rows, based on user input.

For a basic understanding of “For” loop syntax, checkout w3schools reference page:

Delete Button Code:
 var vRows = Table1._Row1.count-1;
 for(var i=vRows;i>=-1;i–){
 if(Table1.resolveNode(“Row1[” + i + “]”).Cell1.rawValue!==1){

Add Button Code:

Leave a Reply

HTML Snippets Powered By :