where $task - my model, $members - available array of models, members - empty $members array for selected items, id and fullname - $members attributes.
I am facing one issue with this, the extension is running but without CSS only black and white and no effect, what may be the reason? kindly see the attachment
I have a question about EMultiSelect. I want to use two emultiselects (or dropdown or what you wanna call it) at the same page and from the same model. Is it possible to differ the responses in anyway? How?
I’ve got the same question as Dowerasu. Is it possible to pre select items and how?
Fix it:
$array = array();
foreach($qAdacrbActive as $arr){
$array[$arr['adacrt_ID']] = array("selected"=>true); //add the ids that you want to pre select
}
echo CHtml::dropDownList(
$model,
'Faxxuh',
$listAdacrtAccoRoomType,
array(
'multiple'=>'multiple',
'key'=>'ID',
'class'=>'multiselect' ,
'options'=>$array, // add it to the options var
)
);
Shared code: how to insert emultiselect into CForm. I try to add my screen shot, but here is no function to support that, so I create a new topic below, and add the link here.