1

I am trying to figure out how to do the following; based on a submitted value change the email behavior:

  1. If (field 'send' value == no) then don't send the email
  2. If (field 'member' value == yes) then change the email message

If I can find out how to do #1 above I could use that to achieve #2, in fact I suspect they have the same answer. I am looking for a hook but perhaps that is just me being stuck in D7 style of doing things.

5

The latest dev release of Webform 8.x-5.x supports conditional emails and handlers.

Conditions tab

  • I can't keep up with the rapid pace at which you are improving this module! – Duncanmoo Sep 7 '17 at 13:50
  • 1
    can we send the mail for different user based on the field values ? If the values is empty , it should send to admin email ID, if not then it will be send to another user. Is it possible ? – logeshvaran Sep 27 '17 at 10:02
  • @logeshvaran the question is very interesting but I think you need to ask a question yourself in a separate post – Tritof Apr 17 '18 at 13:12
  • The short answer is webform email handlers support email routing based on selected options (ie select menu, radios, & checkboxes) – jrockowitz Apr 17 '18 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.