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

    Can you block zeros from being allowed in a number field?

    Asked by risingstarca on July 26, 2015 at 08:20 AM

    I have a number field in which a person must type a 4 digit code, but zeros are not allowed in the field.  I would like a condition to be set that doesn't allow zeros for this field.


  • Profile Image
    JotForm Support

    Answered by Welvin on July 26, 2015 at 12:28 PM

    Looks like we don't have this option to disallow zero in the field. I also can't find a widget so a workaround would be to add a text field that would warn your users about the zero not being allowed in the field and show it if zero is entered.

    For example http://www.jotformpro.com/form/52049538582967. Type 0 and you'll see the message.

    The conditional logic is simply like this: