Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Multiply and Subtract Custom Script

New Here ,
May 29, 2018 May 29, 2018

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
3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 29, 2018 May 29, 2018
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines