Avatar

Not applicable

Hello Dude,

Try to find out the field of the table is in which page. If it is in page 2 so u can print the amount there.

try this script

for(var i = 0 ; i < xfa.host.numPages ; i++)  // loop uoto total number of pages

{

  var oFields = xfa.layout.pageContent(i, "field"); 

  totalfields   =  oFields.length;                    // gives the number of fields in a page

   flag=1;      

  for (var nNodeCount = 0; nNodeCount < z; nNodeCount++)  // loop through the fields

     {  

         if (oFields.item(nNodeCount).name == "find your table field")   // Here find for that field if it works print maount in that page

Good Luck

Regards,

RAkesh