A hidden field that is required appears all the time instead of being conditionally shown

  • OMNICollege
    Asked on April 8, 2019 at 3:27 PM

    Greetings,

    We have a form that has a number of hidden fields and conditions that hide/unhide fields based on responses. The form was working perfectly. But, we've recently added one more hidden field and some associated conditions. That hidden field is set to "Required" because we need an answer to that question IF that field appears. But, only if that field appears. Our conditions are all setup correctly. But, for some reason that hidden (required) question appears all the time instead of staying hidden and only appearing when the conditions are met. We've reviewed the conditions multiple times and we can't see any problems. So, we're wondering if there is a limit on the number of conditions for free accounts. Or if there is an issue with having a hidden question that is set to "required".

    Here is the form - https://form.jotform.com/90647660663262

    Thank you for any help you can provide.

  • Support_Management Jotform Support
    Replied on April 8, 2019 at 5:24 PM

    Hello @OMNICollege - There's no hard limit imposed to the number of conditions for free plan users. There's probably a condition conflict somewhere that we just need to adjust.

    However, we need to know which field you're describing and how you're expecting it to behave. So, please get back to us and answer the following questions so we can have a better look:

    1. What's the name of the field in question?

    2. How are you expecting the field to behave? Can you share your workflow with us on when/how the field should be hidden/shown?

    e.g. IF this is that THEN SHOW field A

    3. How should we test your form so we can emulate your end goal? Kindly tell us how the form should be filled out, along with the intended outcome, so we can help you in figuring out how to fix it.

  • OMNICollege
    Replied on April 8, 2019 at 5:30 PM

    Thanks for the reply, Jim.

    This field is only supposed to appear when a user selects certain countries. This is condition 5 in our list of conditions. When a user selects a certain country in the list of countries therein, we want this question to "show" and the previous question to "hide".

     

  • Elton Support Team Lead
    Replied on April 8, 2019 at 8:00 PM

    The condition considers "empty" in the country field as true because it does not match to the countries defined in the condition. The fix is easy, simply set a selected country by default in the country field.

    Example:

    A hidden field that is required appears all the time instead of being conditionally shown Image 1 Screenshot 20

    Or you can adjust your conditions like the following.

    If Country field is Filled

    If Country field is equal to "Qatar"

    If ALL

    Show Score 6.5 field

    You can do the same for other countries in a separate condition.

  • OMNICollege
    Replied on April 8, 2019 at 9:33 PM

    That did it. And I also noticed I had a "not equal to" for one condition instead of "equal to". Thank you, EltonCris. You rock!