Drupal 7 Form API not returning all values into $form_state I have a form with multiple similar fields like so:

&lt;?php

example_form($form, &amp;$form_state) {

   for($i = 0; $i &lt; 10; $i++){
       $form[$i]['name'] = array(
           '#title' =&gt; t('Name'),
           '#type'  =&gt; 'textfield',
       );
   }

   $form['submit_button'] = array(
       '#type' =&gt; 'submit',
       '#value' =&gt; t('Submit Names'),
   );

   return $form;
}


This outputs ten fields and a submit button. However, inside hook_form_submit and viewing the values from dpm($form_state['values']), there is only one instance of name. 

I can easily fix this problem by uniquely naming the field $form[$i]["name-{$i}"] but this solution does not seem pragmatic. What is the work around for not individually naming each field uniquely? Why is the not naming the container qualify as unique?
Submitted values are flattened by default. To change that, set the #tree property on the container (in this case the form):

$form['#tree'] = TRUE;