2 Replies Latest reply on Feb 6, 2012 12:48 PM by TiffanyWarren

    I need help with Java Script if/then statement

    TiffanyWarren

      I have absolutily no experiance writing Java Script so any help at all would be greatly appreciated.

       

      I'm working on a form in which I will need a check box for the person filling out the form to click if they are a Tax Exempt company. Obviously when they check the box I need the sales tax field to change to $0.00 so the total cost will only calculate on the price of the items.

       

      Currently I'm using the folowing in the calculation field for my SalesTax.

       

      var k = this.getField("SubTotal");

      event.value = k.value * 0.0825;

       

      Again, any help possible would be greatly appreciated.

       

      Tiffany