Skip to main content
Participant
May 29, 2018
Question

Multiply and Subtract Custom Script

  • May 29, 2018
  • 1 reply
  • 3238 views

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.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
May 29, 2018