7 Replies Latest reply on Jan 5, 2015 12:57 PM by Elizabeth Mocz

    Form Creation Question - Using Formula in Acrobat PDF

    Elizabeth Mocz

      I've created a form in excel and imported into Acrobat Pro XI to create a pdf that is automatically calculates the subtotal, discount, shipping, installation, sales tax etc..    The problem I have is that the total does not calculate properly when the discount field or sales tax field is zero.  Can someone tell me how to write code that if the "Discount" value is $0.00, then the value will equal the subtotal amount? I should be able to then apply the same formula to the sales tax field.  Here is the formula I entered for the subtotal and calculating the discount:

       

      event.value = this.getField ("Subtotal").value*this.getField ("Discount").value.