i got some stuck in thi case, which I want to fill one of the textfield with value from database. Commonly, this code was recommended
<div class="row"> <?php echo $form->labelEx($model,'field1'); ?> <?php echo Model1::model()->FindByPk($model->id)->field1;?> <?php echo $form->error($model,'field1'); ?> </div>
But,the one I’m searching is the value is filled into textfield at the form.
Could anyone help me?