These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Script to calculate subtotal+shipping-discount=total

amooreDPSD
Registered: Apr 27 2010
Posts: 6
Answered

I am creating a Purchase Requistion for our school district and am having trouble finding a script to calulate the field "Subtotal" + "Shipping" - "Discount" = "Total"

My Product Information:
Acrobat Pro 9.3.1, Windows
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
In the Simple Notation field under the Calculation tab of the Total field, write exactly that:
Subtotal + Shipping - Discount

Be aware that the names of the fields are case-sensitive and must not contain any spaces or periods.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

amooreDPSD
Registered: Apr 27 2010
Posts: 6
I didn't think it would be that simple. I am new to this and guess I was over thninking the problem. Thanks try67.