Title: Configuration error using [select] for recipient
Last modified: August 31, 2016

---

# Configuration error using [select] for recipient

 *  Resolved [pr0fess0r](https://wordpress.org/support/users/pr0fess0r/)
 * (@pr0fess0r)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/configuration-error-using-select-for-recipient/)
 * If I use a form field like this so the user can select a recipient:
 *     ```
       <p>Send this to<br />
       [select your-recipient "Bob|bob@mydomain.com" "Mary|mary@mydomain.com"]</p>
       ```
   
 * And I use this short code in the Mail tab in the form settings for the “To:” 
   field:
 * `[your-recipient]`
 * I get a syntax error, but the form works.
 * Is this not the correct way to do this?
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/configuration-error-using-select-for-recipient/#post-7336889)
 * See [http://contactform7.com/checkboxes-radio-buttons-and-menus/#select](http://contactform7.com/checkboxes-radio-buttons-and-menus/#select)
 * Use `select*`
 *  Thread Starter [pr0fess0r](https://wordpress.org/support/users/pr0fess0r/)
 * (@pr0fess0r)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/configuration-error-using-select-for-recipient/#post-7336948)
 * I am using select in the form:
 * `[select your-recipient "Bob|bob@mydomain.com" "Mary|mary@mydomain.com"]`
 * And in the mail settings, I am using `[your-recipient]` in the To: field.
 * What is wrong with those settings?
 *  Thread Starter [pr0fess0r](https://wordpress.org/support/users/pr0fess0r/)
 * (@pr0fess0r)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/configuration-error-using-select-for-recipient/#post-7336964)
 * Ah I understand, the select field has to be compulsory (with the *) – thanks 
   for your help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Configuration error using [select] for recipient’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [configuration error](https://wordpress.org/support/topic-tag/configuration-error/)
 * [recipient](https://wordpress.org/support/topic-tag/recipient/)
 * [select](https://wordpress.org/support/topic-tag/select/)

 * 3 replies
 * 2 participants
 * Last reply from: [pr0fess0r](https://wordpress.org/support/users/pr0fess0r/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/configuration-error-using-select-for-recipient/#post-7336964)
 * Status: resolved