Conditional logic based on submit button

  • Profile Image
    wsrhodes
    Asked on October 29, 2017 at 10:52 AM

    I have an sign-up (event) form. It has two buttons: "register" and "decline". I want to send a different "thank you page" based on the one selected. But when I go to "Settings" and "Change e-mail recipient" it will not let me select either of those fields!  They show up in the dropdown but are not selectable.  Why not? Am I doing something wrong?  Do I have to make a work-around such as having a hidden field with the value of "y" or "N" depending on their choice? That's clunky.

    thanks

    wait...I can't even select those fields on a regular condition!!!! so no way to do work-around?

  • Profile Image
    Jan
    Answered on October 29, 2017 at 01:50 PM

    I checked your form and I can see that the field you are referring to has a blank label.

    150929929110-30-1bsm3.png

    You can still use this in the Change Email Recipient condition. As you can see on the screenshot below, it is the number 6 field.

    150929935210-30-lto39.png

    Related guide: How-to-Send-Email-Based-on-User-s-Answer

    Hope that helps. Thank you.

  • Profile Image
    wsrhodes
    Answered on October 29, 2017 at 02:16 PM

    Thanks for the quick response Jan. 

    The original version of my test form had two "submit" buttons; one labeled "Attend" the other "Decline". I wanted to send an appropriate "Thank You Page" based on the one they chose, but was not able to.

    Originally I did some research and couldn't find an answer to my problem, so that's why I posted the question. After that, more research seemed to imply that only one "submit" button should be included, and that once they hit it, no conditional action can be taken.

    So then I added the single-choice field (and a single "Submit" button). By interrogating the answer to that field, I can then send the appropriate Thank You page message.....which is what your response confirmed. 

    Looks like this is the best way to go.

  • Profile Image
    Jan
    Answered on October 29, 2017 at 02:42 PM

    I understand. Thank you for your clarification and for updating us. 

    If you need any help, please do not hesitate to contact us.