Only one of our Thank-you pages is being sent

  • rwaldenjr
    Asked on June 29, 2020 at 9:10 AM

    I've written Conditional Logic for my Create An Account form which is supposed to send a separate confirmation "Thank-you" email to the Recipient for each of the six possible membership groups that they check. However, the only one that is being sent is the last one that's checked in the list. My inclination is that there's something wrong with my Conditional logic. But, I don't know what I could do differently to program it!?!

    Any idea what's wrong, and how to fix it?

    Thanks in advance for your help!

  • Bert_A
    Replied on June 29, 2020 at 11:36 AM

    Hi there,

    Thank you for reaching out.

    I did test registrations on a copy of your form each selecting different groups you have and each submission did show the correct Thank You page. 
    Only one of our Thank you pages is being sent Image 1 Screenshot 70

    Only one of our Thank you pages is being sent Image 2 Screenshot 81

    Only one of our Thank you pages is being sent Image 3 Screenshot 92
    Only one of our Thank you pages is being sent Image 4 Screenshot 103
    Only one of our Thank you pages is being sent Image 5 Screenshot 114

    Only one of our Thank you pages is being sent Image 6 Screenshot 125

    May I please confirm if you're still experiencing the issue?

    I have also gone ahead and cleared your form cache on our server.

    Let me know should you need further assistance.

  • rwaldenjr
    Replied on June 29, 2020 at 2:59 PM

    Hi Bert -

    Thank-you for your response. Yes, I'm still experiencing the issue. And yes, the way you tested it, the system seems to work correctly. I guess I wasn't clear in my explanation. The problem occurs when users click multiple "Group(s) You Wish To Join" checkboxes in a single submission. (I'd have used radio buttons, if I wanted just one selection per submission.)

    I just cleared my images cache (Chrome browser), and re-submitted the form. I've been using the iFrame embed code. And, I selected (3) checkboxes for this test:

        a. Seller
        b. Home Buyer
        c. Contractor

    Here are my results:

    1. The Contractor "Thank-you" confirmation page is the only one that appears on the screen of the three. This confirms that whichever group name is the last item in the list is always the one that shows up as a Thank-you; whether that be just one selection (as in your tests), or multiple selections (as in mine). If you select multiple checkboxes, you may be able to reproduce the issue.

    2. The order that the confirmation emails hit my Inbox is as follows:

        a. Home Buyers (#input_47_2),
        b. Contractors (#input_47_4), and 
        c. Sellers (#input_47_0).

        Clearly, they arrived out of list order, which happens to be the same as their numerical input order. (I thought maybe the problem was that the emails were printed in their numerical input order, and that I may have positioned them out of order when editing the page layout. That isn't the case.) There doesn't seem to be any logical rhyme or reason as to how these messages are printed and delivered.

    3. The Sellers email is the only one that maintains the updated text content and formatting. the other two returned to their original email formatting, despite numerous attempts to edit, Save and Publish them. (See my "Can't Save Form Edits" question in the forum for more details about this point.)

    4. The last two messages I received, Contractors and Sellers were both sent from my custom SMTP server, "info@midwestfixandflip.com". However, the first one that arrived in my Inbox was from the default JotForm server, "noreply@jotform.com". Why are they different? And, why aren't they all coming from my custom server?

     

    I'm not sure why the Sellers email behaves differently than the other 5, especially since the others are modified clones of Sellers. They should behave identically!?! And, its not like I haven't tried to edit and save these changes. So, what might be causing these issues?

    - Robert

  • KrisLei Jotform Support
    Replied on June 29, 2020 at 5:51 PM

    Hello Robert,

    Kindly give me some time to run further tests on your form, it could be a downstream error or conflicts on the conditions. 

    Let me get back to you as soon as possible. Thank you. 

  • KrisLei Jotform Support
    Replied on June 30, 2020 at 2:48 AM

    Please accept my apologies for the late reply.

    The reason why it's showing only the Thank You page for the last selection is because there's no rule or condition IF the user selects multiple answers.

    I have read again your requirements, it seems that you would like to send the email and show the Thank You page based on the user's answer, correct? To my understanding, you would like to also send multiple emails and Thank You page whenever the user selects multiple answers?

    If that's the case, you would also need to create conditions for all possible combinations of answers. Based on your example above, if the user selects Seller, Home Buyer, and Contractor from the choices, then the condition would be:

    1593498211condition Screenshot 10

    This also applies to the Thank You page conditions, however, there could be numerous combinations for the possible answers and this could be an inconvenience on your end. You can always add IF and DO statements by clicking on the plus button  located on the right side of the first statement to create multiple rules and multiple actions:

    1593498845condition2 Screenshot 21

     

    If this is not the case, can you provide us with additional details of your workflow when the user selects multiple options? 

    Thank you. Looking forward to your response.

     

  • rwaldenjr
    Replied on June 30, 2020 at 5:39 PM

    KrisLei -

    Thanks for your reply! You're right, there would be a ton of permutations of the various fields that I'd have to iterate individually to accomplish what I'm looking for. However, your colleague BDavid, on the thread "How to Calculate Values for Multiple Choice Checkbox Fields", gave me an excellent way to accomplish what I'm looking for using a variable instead of numerous conditional statements.... and with only one email that covers every possibility of field selection. I can now accomplish with just two conditional statements what it took me a dozen to accomplish before. So, thanks for your help and insight! I'm sure it will come in handy at some point down the road.

    Stay safe out there,

               :-)


  • Bert_A
    Replied on June 30, 2020 at 7:40 PM

    Hello,

    We really appreciate your patience and cooperation in getting your concerns sorted out.

    Feel free to reach out to us should you have any further issues or questions.

    On behalf of my colleagues, you're most welcome, and thank you for choosing Jotform.