0
Multiply and Subtract Custom Script
New Here
,
/t5/acrobat-discussions/multiply-and-subtract-custom-script/td-p/9957594
May 29, 2018
May 29, 2018
Copy link to clipboard
Copied
Hello,
i have a form that i am trying to calculate values from multiple fields to return one result in a 'Total' line.
Fields are, Quantity, Unit Price, Discount, and Total.
I need to have the Total field calculate like this
(Quantity * Unit price) - (Discount * Unit Price) = Total
I have been able to get custom script to simply multiply the sections needed but have not successfully been able to subtract them.
TOPICS
PDF forms
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-discussions/multiply-and-subtract-custom-script/m-p/9957595#M108133
May 29, 2018
May 29, 2018
Copy link to clipboard
Copied
A good place to start: https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

