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 Input Mask be used to allow only a single digit between 4 and 9 inclusive?

    Asked by Bhfc on February 07, 2014 at 03:55 PM

    Would like to have an input mask on a single character field that would only allow one of the following digits 4,5,6,7,8,9 to be entered. Is there a way to accomplish this in a jotform?

    input mask JotForm Max Value Min Value maximum value minimum value number field
  • Profile Image
    JotForm Support

    Answered by abajan on February 07, 2014 at 04:34 PM

    Yes, there is. From the last form you edited I can see that you're already familiar with the input mask feature. So, to restrict a textbox to a single digit, click the box and then the Input Mask button, enter just one hash (#) in the box, click OK and save the form:


    If you need further help with this, please let us know.


    Cheers

  • Profile Image
    JotForm Support

    Answered by abajan on February 07, 2014 at 04:45 PM

    My apologies. I totally misunderstood your question. Our Input Mask feature can't be used for this. To allow digits only from 4 up you would have to replace the textbox with a Number field and set its Min Value to 4 and its Max Value to 9:


    That's what I did in this demo. If anything's unclear, please let me know.

  • Profile Image
    JotForm Support

    Answered by abajan on February 07, 2014 at 04:52 PM

    Incidentally, if desired, the Number field's arrows (spinners) can be hidden via injected CSS.

  • Profile Image

    Answered by roiafblackgoat on March 10, 2016 at 03:44 PM

    Hi there.  Two years later, same question.  I don't see a way to set Min Value or Max Value. Can you specify how that's done?
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 10, 2016 at 04:48 PM

    @roiafblackgoat,

    Your question will be answered on this thread: http://www.jotform.com/answers/792226