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

    Numeric validation in the text box field allows a hyphen

    Asked by flaviafigueiredo on May 17, 2017 at 04:41 PM
    For Number isnt possible to put "9-" but is possible to put "9-9". I dont wanna the last answer.
  • Profile Image
    JotForm Support

    Answered by Welvin on May 17, 2017 at 04:47 PM

    I would suggest enabling the input mask, use # for numbers:

    This option will make sure that only numbers will be entered in the field.

  • Profile Image

    Answered by flaviafigueiredo on May 22, 2017 at 02:46 PM

    but if I put #### then will be possible to answer 9999-9

    *I dont wanna limited the characters 

  • Profile Image
    JotForm Support

    Answered by Kiran on May 22, 2017 at 04:11 PM

    Please be noted that when the input field is masked with a format, the users would be able to enter in the same format only. If you want the user to enter in the format 9999-9, you may mask the input field as ####-#.

    Hope this information helps! 

  • Profile Image

    Answered by flaviafigueiredo on May 22, 2017 at 04:31 PM

    If I masked with ###   is it possible to write 9999999999999999999 or 9999999-99999-99999?

  • Profile Image
    JotForm Support

    Answered by Kiran on May 22, 2017 at 05:45 PM

    No. The masking on the input field checks for the length and # can accept only numbers. So, for instance, if you have masked the input field as ####-####, you can enter the value as 1234-5678 only. Please refer to the guide below that can help you with setting content mask

    https://www.jotform.com/help/358-How-to-Set-Content-Mask-on-a-Form-Field-Based-on-Another-Field-Input

    Thank you!