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

    Some fields are not showing even though I have set conditional logic to show them

    Asked by SOSStLucia on May 15, 2017 at 01:47 AM

    i have a form with over 100 fields and there are some fields which refuse to show even though I have set conditional logic to show them. I have gone through every single condition set to see if there is something preventing them from being shown. No luck. Any ideas?



    This is a re-post of a comment on Show or Hide Multiple Fields at Once Using the Form Collapse Tool

  • Profile Image
    JotForm Developer

    Answered by Helen on May 15, 2017 at 02:59 AM

    Hello,

    Thank you for contacting us.

    I have checked your last edited form. Here: http://www.jotform.co/form/71297955496879

    This form has contains 51 conditions and these conditions reflected a lot of fields. Did you check the fields which refuse to show even though you have set conditional logic to show them?

    Could you please provide us these fields details? We can check it for you on our side.

    You must check every field and condition for solving your issue.

    If you have any questions or issue, please do not hesitate to contact us. 

  • Profile Image

    Answered by SOSStLucia on May 15, 2017 at 01:19 PM
    Thank you for replying so quickly. The condition that doesn't appear to be behaving as expected is Condtion 2.  The 'if' fields are field numbers 17 and 18. I want the fields 98 to 105 to show if fieId 17 is no or field 18 is yes.  Fields 98-105 are set to be hidden in advanced properties. 
     
    Thanks
  • Profile Image

    Answered by SOSStLucia on May 15, 2017 at 01:43 PM
    Hi Helen,
    Thank you for replying so quickly. The condition that doesn't appear to be behaving as expected is Condtion 2. The if fields are field number 17 and 18. I want the fields 98 to 105 to show if fieId 17 is no or field 18 is yes. Fields 98-105 are set to be hidden in advanced properties.
    Thanks
    k
    The fields that I am trying to show are numbers
    Sent from my iPhone
    ...
  • Profile Image
    JotForm Support

    Answered by BDAVID on May 15, 2017 at 02:51 PM

    Please disable the hidden option from the advanced properties. If you have created conditions to show them only if a condition is met, those field will remain hidden.

  • Profile Image

    Answered by SOSStLucia on May 15, 2017 at 03:21 PM

    Hi BDAVID,

     

    I have hidden them (in advanced properties) because I do not want them to show unless certain conditions have been met. However, when the conditions are met, they still do not show. 

  • Profile Image

    Answered by SOSStLucia on May 15, 2017 at 03:33 PM

    Hi BDAVID,

     

    I have hidden them (in advanced properties) because I do not want them to show unless certain conditions have been met. However, when the conditions are met, they still do not show. 

    Furthermore even when I 'unhide' them (in advanced properties), they still do not show when the conditions are met. 

  • Profile Image
    JotForm Support

    Answered by BDAVID on May 15, 2017 at 05:05 PM

    First of all, I hope you don't get discouraged with my answer, as I found it difficult to tell you exactly where the problem lies, because there are many conditions where those two fields are listed. But I will do my best to guide you troubleshooting this problem.

    I just want to explain two things when it comes to conditions:

    1) There is no need to hide a field through it's properties if you have created a condition to show it.

    I have created this simple condition to show the Name field if the answer to the previous question is equal to yes:

    As you can see in the following animated image, the field does not show upon form's load, because the condition has not been met yet. So there is no need to hide it through it's properties:

    2) There is no need to crate a condition to hide the specific field if the opposite happens:

    Having a second condition to hide the fields is not a good practice, because as explained before, the field is already hidden until the "Show" condition is met. 

     

    With that being explained, let met tell you that you will need to re-calibrate the conditions to fix the problem, because even though you have disabled the "Hide" property for those two fields, Expired/Current Passport Number(98) and Has Loss Been reported to the police?(105), they still do not show, because they are listed in other conditions that conflict with one another, example:

    Field 105 is listed in more than 5 conditions:

    So, what happens if two, or three of those five conditions are met? Which one should be triggered or have more priority? You need to create nested conditions to solve it:

    Let's see the first two of those five conditions where field 105 is listed:

    Those two can be combined in one simple condition to accomplish what you need, example:

     

    So, I invite you to revise your conditions, and to recalibrate those that can cause a conflict or discrepancy with others.

    Let us know if you have more questions.

  • Profile Image

    Answered by SOSStLucia on May 15, 2017 at 05:45 PM

    WOw!  Thank for this thorough explanation and no, I was not discouraged.  Your first animation explained something fundamental that I was not aware of and probably would've made a difference. 

     

    Yes, I got a bit a carried away with the conditions and realize hat several could've been consolidated. I will try to follow your recommendations and clean them up. 

    in what kind of scenario would you recommend using the hide option in advanced properties?

    Thanks again

  • Profile Image
    JotForm Support

    Answered by BDAVID on May 15, 2017 at 06:55 PM

    You are welcome! I will provide you an example on how to use the hide option from the advanced properties in the following thread: https://www.jotform.com/answers/1145392