Answered
I will post a link to the document I am creating.
I have a dynamic pdf I am creating in Adobe LiveCycle Designer.
In the middle of a subform I have an additional subform which you can add lines too in order to input accounts and a closing amount. You can add an unlimited number of these.
Where I am struggling is getting a total in another part of the subform that shows the total "closing amt".
I would like to point out I'm a bit of a nub so please be patient with me. This is what i have and it isn't working...as a matter of fact it doesn't do anything.
form1.accountTitleChange.closeChangeForm.formTotal.totalAmt::calculate - (JavaScript, client) var oTotal = xfa.ResolveNodes("closeAmt[*]"); var oSum = 0; for (var i=0; i <= oTotal.length-1; i++) { oSum = oSum + oTotal.item(i).rawValue; } event.value = oSum;
Any help would be much appreciated.
LR
LINK TO DOC:
http://www.nnb-krny.com/test/test_Account_Change_Dyn.pdf
George