<p>It's definitely possible, your HTML is just a little off...</p>

<p>When dealing with a dropdown menu, the <code>name</code> attribute should be part of the <code>select</code> tag, not each individual option:</p>

<pre><code>&lt;select name="message[model]"&gt;
  &lt;option value="——" selected="selected"&gt;Please select...&lt;/option&gt;
  &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
  &lt;option value="saab"&gt;Saab&lt;/option&gt;
  &lt;option value="mercedes"&gt;Mercedes&lt;/option&gt;
  &lt;option value="audi"&gt;Audi&lt;/option&gt;
&lt;/select&gt;
</code></pre>

CC BY-SA 3.0
2014-10-04T02:43:02.603Z
2014-10-04T02:43:02.603Z
Lindsey D
<p>The <a href="https://github.com/craftcms/contact-form" rel="nofollow noreferrer">GitHub page</a> shows how to add additional fields as input fields or checkboxes. But I can't figure out how to add drop-down fields. Is this possible?</p>

<pre><code>&lt;select&gt;
  &lt;option value="——" selected="selected"&gt;Please select...&lt;/option&gt;
  &lt;option name="message[model][]" value="volvo"&gt;Volvo&lt;/option&gt;
  &lt;option name="message[model][]" value="saab"&gt;Saab&lt;/option&gt;
  &lt;option name="message[model][]" value="mercedes"&gt;Mercedes&lt;/option&gt;
  &lt;option name="message[model][]" value="audi"&gt;Audi&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>Thanks!</p>

<plugin-contactform>
Adding a drop-down to Contact Form plugin
# Adding a drop-down to Contact Form plugin

(Asked by: username_0 on 2014-10-03)

The GitHub page shows how to add additional fields as input fields or checkboxes. But I can't figure out how to add drop-down fields. Is this possible?

  Please select...
  Volvo
  Saab
  Mercedes
  Audi


Thanks!

**Tags:** plugin-contactform

---

## 1 answers

### Answer by username_1 on 2014-10-04. Score: 7 | Accepted answer

It's definitely possible, your HTML is just a little off...
When dealing with a dropdown menu, the name attribute should be part of the select tag, not each individual option:

  Please select...
  Volvo
  Saab
  Mercedes
  Audi


---

