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

    How can i limit the numerical value someone enters into a field?

    Asked by johnsleewood on November 15, 2011 at 06:49 AM

    I have a field which accepts the number of people being booked onto a particular activity and need to limit the form users reponse so they can only enter a number between 1 and 12.

    Any ideas please as I can only see how to limit the number of actual characters.

    I have looked at the conditions section but that just seems to be show a drop-down if such and such has been selected etc.

     

    Thanks,

    Rich

    Page URL:
    http://www.jlw.me.uk/online_booking_activities.html

  • Profile Image
    JotForm Support

    Answered by joey on November 15, 2011 at 07:42 AM

    Hi Rich,

    I have came up with a solution not so perfect but I think it will do your job. I also got a bonus solution at the end of this answer method.

    1. Select the field to be as a required field.

     

    2. At the same menu bar click the validation button and select numeric.

     

    3. Go to setup and embed tab and select conditions.

     

    4. Select the first condition show/hide a form field and click next.

     

    5. Now, this is the part to enter the 12 conditions. Select the field that you want numbers to be filled in, select equals to, and enter 1.

    6. To add other rules, click on the add new rule button on the lower left corner of the wizard and do step 5 for the other numbers.

     

    7. Click save and that should do it.

    Another method is using a dropdown menu if you don't want any complications. Just create a drop down menu with options from 1 to 12 and that should also solve your problem.

    I hope these two methods will be helpful to you.