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

    Numbers validation on form (minimum )

    Asked by Verhoop on May 15, 2012 at 03:10 AM

    Hi,

     

    I have been looking if there is a way to validate a minimum value of a number. (or a range)

    I know its possible to have a validation on the number of characters, but I was wondering if its possible to validate the number that is entered. (for example if you have a numberbox which allows 3 digits its possible to just fill in one digit)

     

    //Peter

     

  • Profile Image
    JotForm Support

    Answered by mliz on May 15, 2012 at 03:28 AM

    Unfortunately there is no option to set the minimum value within the JotForm builder itself however as an alternative solution you can download the full source code and then add the line min="12" in the number field's codes, a sample below is displayed.

    <input type="text" class="form-textbox validate[required, Numeric]" id="input_5" size="20" min="12"  />

    To get full form source code, open your form on the Form Builder:
    1. Open "Setup & Embed" tab on toolbar,
    2. Click on "Embed Form"
    3. Click on "Source"
    4. Copy the full source code displayed

    Let us know if you have further questions.

  • Profile Image

    Answered by Verhoop on May 15, 2012 at 04:36 AM

    Thanks a lot!

    But now the question remails how I can re-upload the updated code into my form ?

    (for distribution I use a mail link directly to the form.. and dont embed it on a website)

     

  • Profile Image
    JotForm Support

    Answered by abajan on May 15, 2012 at 06:33 AM

    Hi Peter

    Unfortunately, it's not possible to edit the actual code of the form. A copy has to obtained from the Embed Form Wizard (as described by my colleague) and embedded into a webpage of your own. The link to that page can then be shared accordingly.

    If you would like assistance with choosing a web host in which the form can be embedded, we'd be glad to help.


    Wayne