0

I have a dynamic LiveCycle form that repeats pages and has repeating table rows based on XML. I have added some JavaScript code to "hide" rows if there is no data in that row. First page works well but subsequent pages do not process the JavaScript.

Here is some sample JS I have on the table :

for(i = 0; i < Table1._Row2.count; i++) {
    if (xfa.form.resolveNode("Row.Details.Page2.table1sf.Table1.Row2[" + i + "].reqName").rawValue == null) {
        xfa.form.resolveNode("Row.Details.Page2.table1sf.Table1.Row2[" + i + "]").presence = "hidden";
    }
}

I want the rest of the pages behave like the first.

0 Answers0