[eluser]Unknown[/eluser]
Hi
I just started using CI this morning and really like it in comparison to Cake/Zend and some other frameworks I've been working with...it just seems to be more intuitive to me...anyway, I am porting one of my sites over to see how easy it will be (or hard : D) and I have a form select that allows multiple selections, when I plugged the array into form_multiselect() in my view it displayed all the options (24)...I just want to limit it to 4-5 and have the user scroll to see the rest...
the docs didn't indicate how to do that:
Lets you create a standard multiselect field. The first parameter will contain the name of the field, the second parameter will contain an associative array of options, and the third parameter will contain the value or values you wish to be selected. The parameter usage is identical to using form_dropdown() above, except of course that the name of the field will need to use POST array syntax, e.g. foo[].
Can someone post the code for that? Thanks.