Hi all,
How to make that an option is enabled by default in the form?
echo $form->radioButtonList($model,'campo',
array('si'=>'Si','no'=>'No'),array('separator'=>' ''));
I need to set cheked SI by default.
Thank you very much in advance
Hi all,
How to make that an option is enabled by default in the form?
echo $form->radioButtonList($model,'campo',
array('si'=>'Si','no'=>'No'),array('separator'=>' ''));
I need to set cheked SI by default.
Thank you very much in advance
Dear Friend
In your model you declare the following
public $campo="si";
Regards.