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

    Strange behaviour of spinner field

    Asked 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

    spinner field message does not work select
  • Profile Image

    Answered by Carina on February 17, 2014 at 09:33 AM

    Can you please provide us the form and site url so we can look better into this issue?

    Thank you

  • Profile Image

    Answered by NRCsupport on February 17, 2014 at 10:00 AM

    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.

  • Profile Image
    JotForm Support

    Answered by Welvin on February 17, 2014 at 11:15 AM

    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"

    Thanks

  • Profile Image

    Answered by NRCsupport on February 17, 2014 at 11:26 AM

    Thanks,

    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.

  • Profile Image
    JotForm Support

    Answered by paulsimpson on February 28, 2014 at 10:17 AM

    Hi,

    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.

    Thanks

    Paul

  • Profile Image

    Answered by NRCsupport on February 28, 2014 at 12:46 PM

    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.