Closed (fixed)
Project:
Webform
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2007 at 19:27 UTC
Updated:
7 Mar 2008 at 18:41 UTC
Maybe theres a way to do this now that I'm just not seeing, but It would be great to have a way to change the "send-to" email address based on a select and its value - so the select could have:
first@email.address|First address
second@email.address|Second address
third@email.address|Third address
And the form would send accordingly.
Thanks!
Comments
Comment #1
mariuss commentedThis is similar to the core contact module.
Yes, I would like to see this as well.
Comment #2
krynsky commentedI am in need of this feature too for a current project. I've created a select titled "subject" and want the recipient email to be different depending on the subject the user has selected.
For example.
if subject selected = "donations" send email to: donations@mysite.com
if subject selected = "jobs" send email to: jobs@mysite.com
etc...
Comment #3
quicksketchThis feature finally made it into the 2.x branch of webform. Similar to the email component, select and hidden fields can now receive emails depending on their submitted value. The option to use a select or hidden list is displayed in the "Conditional e-mail recipients" fieldset directly below the normal e-mail address on the node form.
Comment #4
SimonV commentedThis doesn't seem to actually work... anyone got this working? I added a hidden field. Default value is %get[email], when I view the source it appears to get the correct value, but doesn't actually send the email to the address passed. The email is sent to the main recipient but not the the Conditional Recipient.
Comment #5
quicksketchFor those interested, we're continuing the problem with using $_GET in http://drupal.org/node/223388.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.