#1
I want a couple of checkboxes with category options on a form. With form_checkbox('selcat','','', $catoptions, '') (where $catoptions is an array of categories ) I only see 1 checkbox. In the form_helper I notice that checkbox is being handled as a single radiobutton.
Any idea what's wrong? A quick solution is to use a for loop with form_checkboxes
Gr. Albert
#2
Hello,

Yes, form_checkbox wil give you just one checkbox so you will have to loop through your categories.

This sort of thing (assuming your $catoptions array has name and id fields):