Where would I assign a Conditional Recipient when "Other" is selected on a webform?
To use the conditional recipient you add a webform component of the type "select".
While building the webform:
Click the "Webform" tab that lists components in the form
Enter name of field, e.g. "Kind of inquiry"
Choose "select"
Click "add"
The "Edit component" screen appears
Enter a Label and Field key e.g. "Kind of inquiry", "kind_inquiry"
In the field "options" add a couple of key-value pairs like
info@example.com|General information
johnpaul@example.com|Sales question
joseph@example.com|Technical question
The user will be presented the readable option while the key remains invisible.
Save your changes
Select "Configuration" and choose "Kind of inquiry" under "Conditional e-mail recipients"
After the component has been set up, you now need to configure the e-mail.
Under the "Webform" tab, click the sub-tab for "E-mails".
Choose the component you set up with e-mail keys to be the recipient and click "Add".
Configure the e-mail setting as needed and save.
Comments
Comment #1
Cogax CreditAttribution: Cogax commentedWell, in webform-4.x this behaviors has changed, see: https://www.drupal.org/node/273806
But the idea of this task still exists. It would be great to set an email-address for the select_or_other option!
Comment #2
legolasboFeatures will be developed against 7.x-3.x. That being said, I don't expect to be spending time on this edge case. I will consider committing a RTBC patch though.
Comment #3
daften CreditAttribution: daften at Dropsolid commentedClosing as outdated because no activity in a long time and Drupal 7 goes EOL soon. Feel free to re-open if needed.