Set a minimum amount of numbers for Text Boxes

  • Profile Image
    Celltechadvisors
    Asked on January 24, 2014 at 02:43 PM

    Hello,

    I had a question about setting a minimum amount of numbers for a text box on my form. I have a text box that requires 15 digits however i have noticed people are entering one or two digits less but they can still submit the form. As of now, I have not figured out how to activate this feature with JotForm, is there anyway I can do this?

    Thanks,

    Richard

  • Profile Image
    Mike_T
    Answered on January 24, 2014 at 04:14 PM

    Thank you for contacting us.

    There is no native minLength attribute in HTML, so that we do not have such option. However, we might add some custom solution in the future.

    In the meantime, you can try an Input Mask option:

    This way, users will see filled part on the input.

    If you need any further assistance, please let us know.

  • Profile Image
    krispi
    Answered on January 24, 2014 at 04:21 PM

    Hello

    So to make sure people will introduce 15 digits you can use Input Mask tool:

     

     

    Regards

    C.

  • Profile Image
    poobah
    Answered on March 10, 2014 at 03:46 AM

    Thanks for posting the tip, but I don't see an Input Mask button.  

  • Profile Image
    pinoytech
    Answered on March 10, 2014 at 09:08 AM

    @poobah

    Request you to please create a separate thread with regards on your query for further assistance.

    Thanks,