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

    Preview Before Submit widget: How to exclude 0's from spinner fields?

    Asked by shw528 on March 25, 2015 at 04:52 PM

    The "Preview Before Submit" widget allows you to exclude empty fields.  All of my Spinner fields, however, default to 0.  Is there a way to exclude fields with a 0 value?

     

    Page URL:
    http://form.jotform.us/form/50835190521147

    preview preview before submi submit spinner 0
  • Profile Image

    Answered by Ben on March 25, 2015 at 06:06 PM

    Unfortunately 0 is not empty value and as it could be a valid value in many cases our developers did not exclude it.

    Having that said, the 0 should be shown for any fields with 0 as a default value set and spinner always has a value.

    The only way we would be able to do this is to (as mentioned above) alter the default value:

    If you clear it out and click on OK, it will not show 0 for as long as no one changes it. Once they change it they will not be able to go back to empty option.

    Do let us know if this helps you achieve what you are after.

  • Profile Image

    Answered by Ben on March 26, 2015 at 03:49 PM

    I got your reply over email, but for some reason it did not seem to be shown on our forum:

    "Okay - thank you, Ben.  I will look into implementing this suggestion."

    Do let us know once you do and how it goes.