hi, new form..new question..please help!
i have dynamic pdf add page add subforms needed. have grand total field , and subtotal field..i can't grand total field work ex: subtotal subform1 50; grand total 50; subtotal on subform2 40 grand total should 90 etc...
i found script repeating subforms can't work..my grandtotal field showing 0
form1.#subform[0].pagina1.gtotal::calculate: - (javascript, client) -
var fields = xfa.resolvenodes("subform[*].nfield3");
var nsum = 0;
for (var i=0; <= fields.length-1; i++) {
nsum = nsum + fields.item(i).rawvalue
}
gtotal.rawvalue = nsum;
whatelse need done in order work...
thanks
i have dynamic pdf add page add subforms needed. have grand total field , and subtotal field..i can't grand total field work ex: subtotal subform1 50; grand total 50; subtotal on subform2 40 grand total should 90 etc...
i found script repeating subforms can't work..my grandtotal field showing 0
form1.#subform[0].pagina1.gtotal::calculate: - (javascript, client) -
var fields = xfa.resolvenodes("subform[*].nfield3");
var nsum = 0;
for (var i=0; <= fields.length-1; i++) {
nsum = nsum + fields.item(i).rawvalue
}
gtotal.rawvalue = nsum;
whatelse need done in order work...
thanks
i guess should using
nsum = nsum + fields.item[i].rawvalue
square brackets instead of regular brackets.
good luck,
sekharn
nsum = nsum + fields.item[i].rawvalue
square brackets instead of regular brackets.
good luck,
sekharn
More discussions in LiveCycle pre-ES (6.x and 7.x) discussions
adobe
Comments
Post a Comment