13 Replies Latest reply on Oct 30, 2015 11:59 AM by davidc76568265

    JavaScript

    davidc76568265

      I am trying to use JavaScript in a form that i am making for subtraction i have that part figured out but i need to know how to set the field to show 0 if the value of the calculation goes below 0

      Example if 100-150=-50 i want the field to show the answer as 0 not -50