Getting the sum of variable rows (rows number is unknown)
dear all,
i need create script option addidional raws (dezimalfelde2 +dezimalfelde3+..... ) total sum should include future raws…
how can create it? please see above below javascript…i tried write (dezimalfelde2[*]) indicate fute rows not working!
plz ?
moin,
the accessor placed @ wrong place.
there 1 "dezimalfeld2" in each row don't need [*] accessor here.
but row "detail" repeating, here place should use it.
var total = 0; var fields = xfa.resolvenodes("tabelle4.detail[*].dezimalfeld2"); (var = 0; < fields.length; += 1) { total += parseint(fields.item(i).rawvalue); } this.rawvalue = total;
More discussions in LiveCycle Designer
adobe

Comments
Post a Comment