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.
Strange behaviour of spinner fieldAsked by NRCsupport on February 17, 2014 at 08:12 AM
I have tried to put a spinner field in my paged form. It is set to allow values from 1 to 8, with a default of 1.
This field is in a section which is opened and closed by a form collapse field, depending on the setting of a radio button. If I take the path where this spinner is shown, it operates correctly and the form can be submitted. But if I take the path where the spinner is not shown, submit does not work. I click the submit button nothing happens, and no error message is shown. If I then go back to the page with the spinner, and select the option which shows the spinner, the spinner field is empty instead of containing the default value of 1.
At the moment I have replaced the spinner by a simple number field, also allowing values 1 to 8 with a default of 1 and this works
Can you please provide us the form and site url so we can look better into this issue?
http://form.jotformeu.com/form/40473495584363 is a cut down version of the form to exhibit this problem.
Click on next until you get the question "do you wish to attend our quiz night". Then if you select yes, you will get the spinner for the number of places preset to 1 as intended. You can change it if you wish. You will have to make a selection of fish or chips for each of the places - so I suggest leaving it as 1. Then click next, and submit will work in the final page.
BUT if you select no on the attend question you are (correctly) not shown the spinner. Then on the next page submit will not work. Just acts as though you did not click it. Now if you go back to the quiz page and select yes, the spinner box is empty - and this appears to be what made submit not work.
Thanks for the additional information. Let me forward this thread to our developers so they can further check and investigate. I'm not sure if this a conflict with the default values but this should suppose to work okay.
For now, you may consider having the spinner field to minimum value to "zero" and default value to "one"
But if I allow a value of zero, the user will be able to submit an invalid entry, saying they wish to attend but require zero places.
I think I shall stickwith a number field instead of a spinner for now.
This bug should now be fixed. I did a test on the form you provided above and it submitted successfully. If you are still experiencing problems on your end please let us know.
Thank you very much. I agree that it appears to be ok now. I'm not going to put the spinner back in for now. Since the only allowed values are 1,2,3,4,5,6,7 or 8, it is probably quicker to type in the number than to use a spinner.