Default value is triggering condition before field is shown

  • Profile Image
    racheldowdie
    Asked on April 12, 2017 at 11:33 AM

    Hi,

     

    I have set a condition on my wedding form that if someone clicks on decline that it would only show 'Email' and 'Submit' tab but when I preview the form and click on decline it doesnt show anything.

     

    Could I have some help please?

     

  • Profile Image
    david
    Answered on April 12, 2017 at 02:03 PM

    Since your Total Guests Attending field has a default value of 0, it is triggering the following condition by default:

    This is hiding the rest of the form by default.  I removed the default value and updated that condition in my test form to the following:

    Then duplicated the condition, for the decline selection, except I did not hide E-mail and Submit:

    The resulting form works as you'd expect:

    https://form.jotformpro.com/71015128452952

    You can clone it to your own account if you'd like:

    https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL