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:
// Current code:
$this->Form->input(array("catname","prodname"),array(....)
// Expected for html:
<input name="data[formname][catname][prodname]" ... ">
Any ideas on how to do this?