title: Using an array as a input name in cakephp form helper
body: <p>I am trying to categorise checkboxes with category|productname values. I need to use the cakephp form helper so I am somewhat clueless as to how to do that. I tried to use an array as the input name, but I am getting a lot of errors:</p>
  
  <pre><code> // Current code:
   $this-&gt;Form-&gt;input(array("catname","prodname"),array(....)
  
   // Expected for html:
   &lt;input name="data[formname][catname][prodname]" ... "&gt;
  </code></pre>
  
  <p>Any ideas on how to do this?</p>