- BhfcAsked 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?
- JotForm SupportabajanAnswered 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.
- JotForm SupportabajanAnswered 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.
- JotForm SupportabajanAnswered on February 07, 2014 at 04:52 PM
Incidentally, if desired, the Number field's arrows (spinners) can be hidden via injected CSS.
- JotForm SupportKevin_GAnswered on March 10, 2016 at 04:48 PM
Your question will be answered on this thread: http://www.jotform.com/answers/792226