Remove dates from post filenames

This commit is contained in:
Oliver Davies 2018-06-02 11:58:39 +01:00
parent 755db43747
commit 81597404c5
109 changed files with 110 additions and 11 deletions

View file

@ -0,0 +1,20 @@
---
title: Conditional Email Addresses in a Webform
date: '2010-05-06'
slug: conditional-email-addresses-webform
tags:
- drupal-planet
- drupal-6
- conditional-email
- webform
use: [posts]
---
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:
```language-ini
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.
Then, when I went to the finished form, the category selection was available.