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
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.