Hi,
I was wondering if there was an easy way to set the default selection on a dropDownList in a CActiveForm from the array that you pass it. Right now I’m sending a value=>label array. I know you can set the Options for a given value but could I pass that in the array as array(value, label, ‘options’=>array(‘selected’=>true))? Basically can I do it when I create the array for the list?
Thanks for your help,
-Nazum