What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I prevent negative numbers?

    Asked by jvanbergen on January 06, 2017 at 07:23 PM

    I have built an overtime field that relies on daily hours. I thought there was an option for Greater Than but I can only find Equals and Not Equals. 

    Ideally, I would want the Daily Hours field to be ignored by the Overtime field if it is not Greater Than 8

     

    On another note, are their tiers of support when we move into subscription status?  

    Page URL:
    https://form.jotform.com/63365595964169

    Screenshot
  • Profile Image
    JotForm Support

    Answered by EltonCris on January 07, 2017 at 02:19 AM

    Hi,

    You can use the MAX math function e.g. max(0, result). This will turn negative numbers into 0.

    Example:

    Things to note: make sure the comma is not a text string (brown). It should be black to perform calculations.

    Hope this helps!