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

Calculate Rows Visible

$
0
0

I can't seem to get Livecycle to resolve the row nodes.

 

Error:

TypeError: taskResolved is null

 

Each Row is named as follows:

Row1

Row2

...

Row23

 

(They are not dynamically named, hence I can't use resolveNodes)

 

The path is correct since the following works and shows the presence detail:

textbox1.rawValue = form1.sfMGR.sfCheckList.sfMainItems.Table10.Row22.presence;

 

(NOTE: The code is shorted to isolate the problematic code, the ultimate goal of the complete code is to count how many rows in the table are set to presence = "visible")

 

for (var i = 1; i<23;i++) {
   var tasks = "form1.sfMGR.sfCheckList.sfMainItems.Table10.Row[" + i + "]";
   var taskResolved = xfa.resolveNode(tasks);
   this.rawValue = taskResolved.presence;
}

What is wrong here?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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