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

  • Profile Image
    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
    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 Type 0 and you'll see the message.

    The conditional logic is simply like this: