How to prevent submission if spinner fields in the form are empty?

  • Profile Image
    grahampowell
    Asked on November 27, 2017 at 05:45 AM

    I have 4 spin boxes on my Jotform. I would like the user to only be able to Register if they have selected a number in one or more of the spin boxes. Is this possible?

    I can see the "Required" and "Prevent submission if this question is empty". I assume this would work if I only had 1 spin box. What I would like is "Prevent submission if ALL are empty.

  • Profile Image
    BJoanna
    Answered on November 27, 2017 at 10:33 AM

    You can use conditional logic to show the custom text message that all spinner fields cannot be empty and you can also hide the submit button. Considering that you set 0 as the default value of the spinner fields you will have to is equal to conditional state. 

    You can set your condition like this.

    1511796190condition.JPG

    How to Show or Hide Fields Base on User's Answer

    Here is my demo form: https://form.jotform.com/73303899870973 

    Feel free to test it and clone it

    Hope this meet what you are looking for.