title: cakephp checkbox multiple select just sends the value of last selected checkbox
body: <p>I am not getting the value of all the checkboxes selected. It just gives me the value of last selected checkbox</p>
  
  <p>here is the code</p>
  
  <pre><code>foreach($apps as $app){
  
  
          echo $this-&gt;Form-&gt;input('Application.id', array('type'=&gt;'checkbox','multiple' =&gt; 'checkbox' , 'id'=&gt;$app['Application']['description'], 'div'=&gt;false,'type'=&gt;'checkbox','value' =&gt; $app['Application']['description'],'label'=&gt;$app['Application']['description']));
  
  
  
      }
  </code></pre>
  
  <p>and on submit I get the very last checkbox which is LASTCHECKBOX</p>
  
  <pre><code>object(CakeRequest) {
      params =&gt; array(
          'plugin' =&gt; null,
          'controller' =&gt; 'groups',
          'action' =&gt; 'add',
          'named' =&gt; array(),
          'pass' =&gt; array()
      )
      data =&gt; array(
  
          'Application' =&gt; array(
              'id' =&gt; 'LASTCHECKBOX'
          )
  
      )
      query =&gt; array()
      url =&gt; 'groups/add'
      base =&gt; ''
      webroot =&gt; '/'
      here =&gt; '/groups/add'
  }
  </code></pre>