Conditional Logic not working when session parameter is present to the form URL

  • Profile Image
    gracepresby
    Asked on October 13, 2014 at 10:44 PM

    I have two forms. The first form sends an email to the end user for he or she to be able to return to the second form to finish filling it out. After submitting the first form, it redirects to the second form that has conditions. When previewing the second form, the conditions work. When the first form redirects to the second form, the conditions do not work. Any ideas why this happens? Here are the URLs to the two forms: 

    http://form.jotform.co/form/42804773116858

    http://form.jotform.co/form/42804038973863

     

     

     

     

  • Profile Image
    Welvin
    Answered on October 14, 2014 at 08:52 AM

    Hi,

    It's because of the session parameters. How about using just the email address for the Session URL? For example:

    http://form.jotform.co/form/42804038973863?session={2Email}

    This method is working fine here. Your thoughts?

    Thank you!

  • Profile Image
    gracepresby
    Answered on October 14, 2014 at 09:44 AM

    I pared down the session parameters as suggested. It is still not working for me. On the second form, when a person chooses one of the options for Q17, it determines which questions after will hide. For example, if you choose 17a, questions 19, 20, 23, 24, & 25 should be hidden. Even using the pared session parameters, it does not happen. Access the form without going through the first form, it works perfectly.

    The reason the session parameters are more exstensive is that an email address could be filling out for the form multiple times for different people. Also, we needed to pre-populate the fields from the first form to the second form because we need that information on the second form.

    Still not understanding why the conditions will not work when moving from the first form to the second form.

  • Profile Image
    Welvin
    Answered on October 14, 2014 at 11:53 AM

    Yes, I confirmed it's not working using just the email address on the session parameters. I will check this form and get back to you later today.

    Thank you!

  • Profile Image
    Welvin
    Answered on October 14, 2014 at 12:12 PM

    I am thinking of forwarding this thread to our developers, but before that, I noticed that fields 19, 20, 23, 24 and 25 and some others are used to multiple conditional logics. Instead of creating multiple rules for these fields, why not group them into one? Then you can use "If Any" on the conditional statement. For example:

    This will eliminate duplicate triggers or action fields which I think one of the causes of this problem to the form. This will also shorten the number of conditional logic to the form. 

    I know this would take time for you to redo the conditional logic so I would also advise cloning the form: https://www.jotform.com/help/27-How-to-clone-an-existing-form-from-your-account to keep a backup for the original one.

    Please do not hesitate to get back to us if you need further assistance.

    Thank you!

  • Profile Image
    gracepresby
    Answered on October 14, 2014 at 12:54 PM

    Thank you. I will give it a try.