Back to 2 spaces

This commit is contained in:
Oliver Davies 2015-05-15 21:08:41 -07:00
parent db2a31c871
commit f769eee7f4
118 changed files with 1050 additions and 1050 deletions

View file

@ -3,14 +3,14 @@ title: Conditional Email Addresses in a Webform
nav: blog
slug: conditional-email-addresses-webform
tags:
- drupal-planet
- drupal-6
- conditional-email
- webform
- drupal-planet
- drupal-6
- conditional-email
- webform
---
I created a new Webform to serve as a simple Contact form, but left the main configuration until after I created the form components. I added 'Name', 'Email', 'Subject' and 'Message' fields, as well as a 'Category' select list. Below 'Options', I entered each of my desired options in the following format:
Email address|Visible name
Email address|Visible name
I went back to the form configuration page and expanded 'Conditional Email Recipients', and selected my Category. Note that the standard 'Email To' field above it needs to be empty. Originally, I made the mistake of leaving addresses in that field which resulted in people being sent emails regardles of which category was selected. I then configured the rest of the form.