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

  • Profile Image
    risingstarca
    Asked 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
    Welvin
    Answered 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:

    Thanks