Trouble with setting Conditions where there are multiple requirements

  • iconic_productions
    Asked on May 21, 2022 at 1:31 AM

    Hi Guys,

    In my form (click here to view) I have set a few fields where specific conditions need to be meet to show/hide other fields and skip to different pages. As many of the fields are inter-connected I am having issues with finding the best way to set the conditions.

    Here is what is meant to happen. Hope you can show me how to set this logically.

    In the element "Status of LogBook Entry:"

    >>> If Starting is selected it shows the element "In the last 30 days," but hides element "Did you stop for Fuel on your Travels?" on page 2

    >>> If Finished is selected it does not show any of the elements below this element and jumps to page 2 on the next button press.


    In the field "In the last 30 days"

    >>> if the option "Yes and my driver's license is still current as of today" is selected it only shows the "Expiry Date of your Current License" element

    >>> if the option "No, I have not." is selected it only shows the "Expiry Date of your Current License" and "Please upload the Front Copy of your Valid Driver's License" element.

    >>> if the option "No, it has expired." it only shows "VERY IMPORTANT INFORMATION - PLEASE READ" paragraph element.


    On Page 2, of element "Have you done a vehicle Inspection Check?"

    >>> if option "Yes, I have. No incidents to report." is selected it only shows "VEHICLE INSPECTION CHECKS." element

    >>> if option "Yes, I have and there are incidents I have to report." is selected it only shows "VEHICLE INSPECTION CHECKS." and "INCIDENT TO REPORT, " and "Upload Images in order of Incidents you wrote above" elements

    >>> if option "No, I have not." is selected it only shows "YOU HAVE SELECTED THAT "NO, I have not" element and hides the "Is there anyone with you and the vehicle at this point?" element and the "Driver Verification Next" button.


    And on Page 2, of element "Is there anyone with you and the vehicle at this point?" if element "Status of LogBook Entry:" on page 1 had option "Finished" select it shows this element and

    >>> if option "No, I am on my own with this vehicle." is selected it ensures that "Take a Photo of All Persons In the Vehicle and Upload for Security Reasons." element and "Full Names of Persons Travelling in the Car" element remain hidden.

    >>> if option "Yes, there are others with me and the vehicle." is selected it shows "Take a Photo of All Persons In the Vehicle and Upload for Security Reasons." and "Full Names of Persons Travelling in the Car" elements.


    And on Page 2, of element "Did you stop for Fuel on your Travels?" it only shows if option Finished is selected in element "Status of LogBook Entry:" on page 1. and then

    >>> if option "Yes." is selected it shows "Enter All Fuel / Petrol Details." element and "Upload Photo Image of Fuel / Petrol Receipt."

  • Myla JotForm Support
    Replied on May 21, 2022 at 2:23 AM

    Hello Steve,

    Thank you for reaching out to Jotform Support. I will be needing some time to check on this and let me get back to you shortly.

    We appreciate your patience.

  • Myla JotForm Support
    Replied on May 21, 2022 at 3:07 AM

    Hello Steve,

    We appreciate your patience. I have cloned and tested your form and see that you have overlapping conditions being the reason why some are not being executed, this for example:

    1653116213 62888d354a20d Screen Shot 202 Screenshot 10

    For us to be able to figure out possible conditions for what you are trying to achieve. Please clarify such so we can try and see workarounds. For each elements, please can you tell us which questions should be asked after choosing the possible answers. Here are the Elements:

    "Status of LogBook Entry:"

    HIDE Questions # :

    SHOW Questions # :


    "In the last 30 days"

    HIDE Questions # :

    SHOW Questions # :


    "Have you done a vehicle Inspection Check?"

    HIDE Questions # :

    SHOW Questions # :


    "Is there anyone with you and the vehicle at this point?"

    HIDE Questions # :

    SHOW Questions # :


    "Status of LogBook Entry:"

    HIDE Questions # :

    SHOW Questions # :


    "Did you stop for Fuel on your Travels?"

    HIDE Questions # :

    SHOW Questions # :


    "Status of LogBook Entry:

    HIDE Questions # :

    SHOW Questions # :


    And please base the questions from here:

    1653116720 62888f30e99f0 Screen%20Shot%2 Screenshot 211653116721 62888f31314c2 Screen Shot 202 Screenshot 321653116720 62888f30b5558 Screen Shot 202 Screenshot 43

    We're awaiting your reply and looking forward to assisting you further.


  • iconic_productions
    Replied on May 21, 2022 at 5:54 AM

    Thank you for your quick reply. Here are the answers to your questions.


    “Status of LogBook Entry:" IF STARTING is selected 

    HIDE Questions # : 24

    SHOW Questions # : 8


    “Status of LogBook Entry:" IF FINISHED is selected 

    HIDE Questions # : 8

    SHOW Questions # : 24


    "In the last 30 days" if the option "Yes and my driver's license is still current as of today" is selected 

    HIDE Questions # :

    SHOW Questions # : 9


    "In the last 30 days" if the option "No, I have not." is selected 

    HIDE Questions # :

    SHOW Questions # : 9, 10


    "In the last 30 days" if the option "No, it has expired." is selected 

    HIDE Questions # : 8, 9, 10

    SHOW Questions # : 11


    "Have you done a vehicle Inspection Check?" if option "Yes, I have. No incidents to report." is selected

    HIDE Questions # :

    SHOW Questions # : 17


    "Have you done a vehicle Inspection Check?" if option "Yes, I have and there are incidents I have to report." is selected

    HIDE Questions # :

    SHOW Questions # : 17, 18, 19


    "Have you done a vehicle Inspection Check?" if option "No, I have not." is selected

    HIDE Questions # : 17, 18, 19, 21, 27

    SHOW Questions # : 20


    "Is there anyone with you and the vehicle at this point?" if option "No, I am on my own with this vehicle." is selected

    HIDE Questions # : 22, 23

    SHOW Questions # 


    "Is there anyone with you and the vehicle at this point?" if option "Yes, there are others with me and the vehicle." is selected

    HIDE Questions # :

    SHOW Questions # : 22, 23



    "Did you stop for Fuel on your Travels?" if option "Yes." is selected

    HIDE Questions # :

    SHOW Questions # : 25, 26

  • Patrick_R
    Replied on May 21, 2022 at 6:21 AM

    Hello iconic_productions,

    Try setting just the SHOW part of your conditions; discard the HIDE part from your conditions as it is not required (those should be automatically hidden).

    Here is an example form that doesn't have any HIDE condition: https://form.jotform.com/221403059148046. It hides the fields by default f the SHOW condition for the particular field isn't met. Screenshot of the conditions provided below:

    1653128457 6288bd098c822  Screenshot 10

    You can clone this form under your account to check it's working. So, introduce conditions like the following:

    “Status of LogBook Entry:" IF STARTING is selected 
    SHOW Questions # : 8

    “Status of LogBook Entry:"
    IF FINISHED is selected 
    SHOW Questions # : 24

    "In the last 30 days" if the option "Yes and my driver's license is still current as of today" is selected 
    SHOW Questions # : 9

    "In the last 30 days" if the option "No, I have not." is selected 
    SHOW Questions # : 9, 10

    "In the last 30 days" if the option "No, it has expired." is selected 
    SHOW Questions # : 11

    "Have you done a vehicle Inspection Check?" if option "Yes, I have. No incidents to report." is selected
    SHOW Questions # : 17

    "Have you done a vehicle Inspection Check?" if option "Yes, I have and there are incidents I have to report." is selected
    SHOW Questions # : 17, 18, 19

    "Have you done a vehicle Inspection Check?" if option "No, I have not." is selected
    SHOW Questions # : 20

    "Is there anyone with you and the vehicle at this point?" if option "No, I am on my own with this vehicle." is selected
    SHOW Questions

    "Is there anyone with you and the vehicle at this point?" if option "Yes, there are others with me and the vehicle." is selected
    SHOW Questions # : 22, 23

    "Did you stop for Fuel on your Travels?" if option "Yes." is selected
    SHOW Questions # : 25, 26

    I'll suggest you try these conditions on a cloned version of your form. You can copy these over once everything works as expected.

    Let us know how this goes.

  • iconic_productions
    Replied on May 21, 2022 at 10:19 AM

    The suggestion of "just the SHOW part of your conditions; discard the HIDE part" works as I need it. Thank you very much for the help.


    Sadly though I have now found another problem. The configurable list of {incidentReport} and the Upload Images of incidents {clickTo224} does not show up on the email notification even when the configurable list actually has data entered into it.

    I even started a new notification email and the same problem occurs.

  • Maruel_T
    Replied on May 21, 2022 at 10:44 AM

    Hi there,

    Please allow us some time to check further.

    Thank You.

  • iconic_productions
    Replied on May 21, 2022 at 10:45 AM

    Okay thankyou

  • Maruel_T
    Replied on May 21, 2022 at 12:05 PM

    Hi there,

    I'm not sure If I was able to replicate your issue as I was able to receive three images and configurable list in the Email Notification. I have also checked your form and the I can't spot a mistake in conditions either. Can you provide a screenshot of the Email Notification that you have received?

    1653149229 62890e2d34dbe  Screenshot 10

    1653148503 62890b570ad98  Screenshot 21

    1653148533 62890b75be4cd  Screenshot 32

    Cloned Form: https://form.jotform.com/221404147650447

    We await your response.

    Thank You.


  • iconic_productions
    Replied on May 21, 2022 at 1:47 PM

    This is what I get when I do it from the option of FINISHED.

    1653155236 628925a483f0b 843E893C 1346 4 Screenshot 10

  • Raymond JotForm Support
    Replied on May 21, 2022 at 2:15 PM

    Hello Steve,

    Thanks for getting back to us. I have made a few tests on your form and I believe the issue lies on your email notification template. Somehow it is bugged. I would recommend delting the old one and creating a new email notification template. Upon doing on a cloned form, I was able to make the notification work as expected. 1653156878 62892c0e95023  Screenshot 10


    Let me show you how:

    • In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    • In the menu on the left side of the page, click on Emails.
    • Now, click on + Add an Email

    1641885461 61dd2f15c6410 Screen Shot 202 Screenshot 21

    • Select Notification Email.
    • Click on the Recipients tab.
    • Now, just enter your email address into the Recipient Email field. That's it. You're done.

    1641885966 61dd310ee33c0 Screen Shot 202 Screenshot 32

    Give it a try and reach out again if you need any help.

  • iconic_productions
    Replied on May 21, 2022 at 3:10 PM

    Thank you for the quick reply and detailed support.

    The problem has been solved and this ticket is resolved.

    Cheers.