Hello,
I use radioButtonList in my form like :
<?php echo $form->radioButtonList($model,'field', $choices_array ,array('separator'=>' | '));
But I need multi choice here. I searched and did not find how can I do this ?
Thanks!
Hello,
I use radioButtonList in my form like :
<?php echo $form->radioButtonList($model,'field', $choices_array ,array('separator'=>' | '));
But I need multi choice here. I searched and did not find how can I do this ?
Thanks!
U should not use radioButtonList when U need multiple choice, for that purpose U will be better using checkBoxList.
http://www.yiiframework.com/doc/api/1.1/CActiveForm#checkBoxList-detail