How to allow inputs of minimum 6?

  • Grahammilton1985
    Asked on April 23, 2015 at 7:11 AM

    Hi

    I would like to not allow people to put a value of less than 6 in my 'how many people' field

    IF they put 1,2,3,4 or 5 in I'd like an message to appear saying - you need to call us

    How do I do this? I assume its with conditions?

    Cheers

    G

  • bokid
    Replied on April 23, 2015 at 8:33 AM

    Hello Graham.

    Don't worry, you do not need any new Conditions for this. If you want users to input a number of people, you may want to use a number field for How many people?, instead of the current text box.

    How to allow inputs of minimum 6? Image 1 Screenshot 50

    In the Properties of this number box, you can even set the minimal value to 6.

    How to allow inputs of minimum 6? Image 2 Screenshot 61

    If you want a custom error message when the customer enters a number less than 6, you can set this up by:

    1. Going to Setup & Embed
    2. Preferences
    3. Advanced Settings
    4. Edit Form Warnings
    5. Change the text "Input field should not be less than" with the following:

    Please call us to register less than

    How to allow inputs of minimum 6? Image 3 Screenshot 72

    This will results in your form looking like this when a customer tries to input a lesser value:

    How to allow inputs of minimum 6? Image 4 Screenshot 83

    Please try this out and let us know how it goes. (Note that I am not a member of the JotForm staff, but I'll be glad to help.)

    Kind regards.

  • Carina
    Replied on April 23, 2015 at 11:21 AM

    1. You can add the number field and define a minimum value as mentioned by bokid.

    2. Then you can add a text field where you can put the warning message "Please call us to register..."

    3. You can add a condition so that is number is less than 6 show message:

    How to allow inputs of minimum 6? Image 1 Screenshot 20

    You can test and clone the demo form:

    http://form.jotformpro.com/form/51125015662950? 

    Let us know if we can assist you further.   

  • Grahammilton1985
    Replied on April 28, 2015 at 10:18 AM

    Thanks both, sorted it