7 Replies Latest reply on Jan 2, 2017 1:42 PM by Sarah5466

    Having difficulty with proper calculation script

    Sarah5466

      Have successfully created a form that will add the prices for the gross order total, then the next line calculates the taxes,in which the net total is the sum of the gross order total and taxes. I am now needing to get the amount due, which is the net total minus a variable for a credit ($0-$75). I am not creating the proper calculation script. Can anyone assist?  I am very new to this but here is what I currently have that is not working:

       

      var d = this.getField("Net Total");

      var s = this.getField("GCU Adjustment");

      event.value = d.value - s.value