Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to calculate Sub-Totals/Grand Totals on repeating row.

$
0
0

I have a this form that I need to calculate to produce a Sub-Total....  An end user can keep adding a line item but I would like to be able to add the amounts entered to calculate in a sub-total field.  So basically, I need help with the actual script that would total the amount calculated from a Quantity*Amount  which is -->"Sub Total" column then taking all of those to a new calculating script down to the "Sub-Total" field below it.  I probably should rename them because its too similar..  I've tried the recommended scripts from the forums but just could not get it to work.

Excuse my editing...but this is what it looks like.  If i need to clean it up so it looks more consistent please let me know if you have any advice.  I just started working on acrobat forms 2 days ago and my eyes have gone blurry from reading the help forums

Capture2.JPG

and here's the javascript on my "Sub-Total" (Which should probably be renamed to "Total" and my "Total" to "Grand Total".  Any help would be much appreciated.  Thanks!

Capture3.JPG


Viewing all articles
Browse latest Browse all 12130

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>