• Hi, everybody! I would like to know how to implement, if possible, that diferents (design and text) auto-response emails are sent depending on which select option or radio button the user selects when filling in the form.

    Thanks in advance ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • you may want to access to user submitted data and change the mail(2) content (using the radio value)

    • This reply was modified 3 years, 6 months ago by Erik. Reason: typo
    Thread Starter pabloconux

    (@pabloconux)

    Yes Erik, that is exactly what I want. That the user receives a different email depending on the value of the radio button. But how do I send the email to that user according to the submitted data? What code should I implement in the mail(2)? Thanks ??

    you need to create an action like in the example

    but getting the value of the radio
    $radio = $submission->get_posted_data( ‘your-radio’ );

    then use a conditional logic and change the message of the mail(2), you will find all the needed data in the $submission variable

    Thread Starter pabloconux

    (@pabloconux)

    Thanks Erik. When I implement it I’ll try it and see if I’m able to make it work. ??

    • This reply was modified 3 years, 6 months ago by pabloconux.

    Sure, let me know if you need help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Autoresponse according to radio buttons’ is closed to new replies.