In the form.php,
there is one row I wish to used it as dropdownlist which is Marital Status [single/married]
view is ok but there is no effect for my database.
Is there anything i miss out?
<div class="row"> <?php echo $form->labelEx($model,'glob_maritus'); ?> <?php echo CHtml::dropDownList('glob_maritus', $select, array('single' => 'single', 'married' => 'married'));?> <?php echo $form->error($model,'glob_maritus'); ?> </div>
Thanks for spending your precious time in my question. =)