Answered
I have a XFA form that uses Combo Fields to calculate the extended cost of various items. The form allows the end user to add new line items that include the same extended cost field. I need to get a grand total of the extended cost fields as new line items are added to the form by the end user. Can anyone help with the script or any suggestions as to where I can find the script?
Thank you.
You may find a script close to what you need from one of the example forms in the Forms section of the Gallery here at this site ( top menu on every page of AUC). There is also a library of example forms included in LiveCycle Designer- it's been a while since I perused it but I think there is a Dynamic Purchase Order form that includes a grand total field.
Typically scripts you find are not direct copy/paste operations and you will need to modify them to fit your situation. Sometimes that simply means switching field names in the script to the field names for your form. Here's a little primer on things to consider when copying/pasting scripts you may find useful-
http://www.acrobatusers.com/blogs/thomp/copying-and-pasting-code
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com