Hi, I'm trying to create a group of checkboxes to pass some options like this <input type='checkbox' name='foo[]'> <input type='checkbox' name='foo[]'> <input type='checkbox' name='foo[]'>
I can't seem to find a way to do this in cake. The only thing that is getting close is doing this $form->input('foo.0',array('type'=>'checkbox)) $form->input('foo.1',array('type'=>'checkbox)) $form->input('foo.2',array('type'=>'checkbox)) which will create this <input type='checkbox' name='foo[1]'> <input type='checkbox' name='foo[2]'> <input type='checkbox' name='foo[3]'> which is close but not quite the same It would be cool if there was a way to create a group of checkboxes similar to the way you can create a group of radio buttons. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---