Conditional recipients
Before submitted webforms were only sent to one email address. Since version 5.x.2 of webform you can use conditional recipients based on the user's selection.
To use the conditional recipient you add a webform component of the type "select".
While building the webform:
o Click "Form components"
o Enter name of field, e.g. "Kind of enquiry"
o Choose "select"
o Click "add"
The "Edit component" screen appears
o Enter a Label and Field key e.g. "Kind of enquiry", "kind_enquiry"
o In the field "options" add a couple of key-value pairs like
info@someorganisation.va|General information
johnpaul@someorganisation.va|Sales question
joseph@someorganisation.va|Technical questionThe user will be presented the readable option while the key remains invisible.
o Save your changes
o Select "Configuration" and choose "Kind of enquiry" under "Conditional e-mail recipients"
Save your form and start using conditional recipients.
