Category as select dropdown box Im trying to setup a front end user form with a category as a select box.  The box looks right but when i submit the form i get a new entry and other fields are filled out but the catgory fields are blank?

This is for a fieldgroup named borough and the field on the section is also called bourough

&lt;form method="post" action="" accept-charset="UTF-8"&gt;
  &lt;input type="hidden" name="action" value="entries/saveEntry"&gt;
  &lt;input type="hidden" name="redirect" value="account/jobs?added={id}"&gt;
  &lt;input type="hidden" name="sectionId" value="9"&gt;
  &lt;input type="hidden" name="enabled" value="0"&gt;

&lt;!-- other form fields --&gt;

  {% set boroughs = craft.categories.group('borough') %}

  &lt;select name="fields[borough]" class="form-control"&gt;
       {% for category in boroughs %}
           &lt;option value="{{category.id}}"&gt;
             {{category}}
           &lt;/option&gt;
       {% endfor %}
  &lt;/select&gt;
&lt;/form&gt;
So looks like I was just missing the extra [] in the name.

fields[borough][]


Since categories are arrays the name also needed to be an array!