- startasAsked on November 02, 2014 at 10:08 PM
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.
- JonoPage URL:
- JotForm SupportjonathanAnswered on November 03, 2014 at 02:38 AM
That error was due to the Spinner field having a Max Value property of zero(0)
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
Please try also my test jotform http://www.jotform.me/form/43061069587460
I did find flaw in your condition statements
In my test jotform, I simplified it to like this
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.
- startasAnswered on November 03, 2014 at 10:07 PM
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!
- jedcadornaAnswered on November 04, 2014 at 05: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
Is Not Equal To
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."?
- startasAnswered on November 04, 2014 at 09: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:
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!
- JotForm Supportashwin_dAnswered on November 05, 2014 at 01:18 AM
On behalf of my colleague, you are welcome.
Do get back to us if you have any questions.