Default value is triggering condition before field is shown

  • 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?

     

  • David JotForm Support
    Replied on April 12, 2017 at 2:03 PM

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

    Default value is triggering condition before field is shown Image 1 Screenshot 40

    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:

    Default value is triggering condition before field is shown Image 2 Screenshot 51

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

    Default value is triggering condition before field is shown Image 3 Screenshot 62

    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