Spinner Field showing Input should not be greater than maximum value

  • startas
    Asked on November 2, 2014 at 10:08 PM

    Hello,

    I have a form (ID: 40218973661862) with a field where the user can type in a number. There are a lot of conditions set up so that depending on the number entered, different text will be hidden or displayed.

    Recently a new problem has occurred. When the user enters a number, the conditions work correctly. But when the user clicks out of the field or hits Enter, this error message is displayed:

    Input should not greater than the maximum value: 0

    The form will not submit. Nothing at all has changed on the site or in the form that I am aware of. The field has a maximum length of 4.

    Thank you so much for your time.

    - Jono

  • jonathan
    Replied on November 3, 2014 at 2:38 AM

    Hi,

    That error was due to the Spinner field having a Max Value property of zero(0)

    Spinner Field showing Input should not be greater than maximum value Image 1 Screenshot 50

     

    It can be fixed by assigning a Max Value number aside from zero(0). Example in your jotform http://www.jotform.co/form/40218973661862 , I think the Post code should be at max 2316

    Spinner Field showing Input should not be greater than maximum value Image 2 Screenshot 61

     

    Please try also my test jotform http://www.jotform.me/form/43061069587460

    I did find flaw in your condition statements

    Spinner Field showing Input should not be greater than maximum value Image 3 Screenshot 72

     

    In my test jotform, I simplified it to like this

    Spinner Field showing Input should not be greater than maximum value Image 4 Screenshot 83

     

    If you find my version applicable to what you need, then you can just clone it so that you can review it better in your Form Builder.

    Follow this user guide http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Please inform us if there is more we can help you with.

    Thanks.

     

     

     

     

     

     

     

     

  • startas
    Replied on November 3, 2014 at 10:07 PM

    Jonathan,

    Thank you so much for your help. The support I get from JotForm is probably THE BEST anywhere - you really go the extra mile, taking screenshots and developing improvements.

    Adjusting the Max Value has fixed the problem, thank you. I'm not sure why I never saw the error before.

    The simplified rules look excellent Jonathan, but I'm afraid this is an arbitrary list of numbers... there is no smooth sequence from 2250 - 2315. If there was, it would be an elegant solution I'm sure.

    Thank you again!

    - Jono

  • jedcadorna
    Replied on November 4, 2014 at 5:37 AM

    For me Greater than and Less than conditional rule would act same as putting an individual number. Yes it would simplify the conditions as it will count whether the condition is met, greater than or less than.

    If you still want to manually encode the number you can use "Is Equal To" to "Show" "Great! You are in our service area" and "Is Not Equal To" to "Show" "Sorry, you aren't in ourservice area.".

    Is Equal To

    Spinner Field showing Input should not be greater than maximum value Image 1 Screenshot 30

    Is Not Equal To

    Spinner Field showing Input should not be greater than maximum value Image 2 Screenshot 41

    What's the range of the numbers needed to show "Great! You are in our service area" and "Sorry, you aren't in our service area."?

  • startas
    Replied on November 4, 2014 at 9:56 PM

    Thank you for your reply jedcadorna. I am not sure of the exact numbers required, but they are a random group of sequences similar in style to this:

    2310-2315

    2320-2322

    2330

    2450-2451

    Maybe you are right that I could have used < and > conditions. It would have been great if this was an easier way to set up the form originally! I did try a lot of different methods and nothing ended up working just now I needed it. But now that the form is functioning correctly, even though it's not an efficient setup, I'm content to leave it as it it. Thank you very much for your time and suggestions!

  • Ashwin JotForm Support
    Replied on November 5, 2014 at 1:18 AM

    Hello startas,

    On behalf of my colleague, you are welcome.

    Do get back to us if you have any questions.

    Thank you!