yii framework populate the values in textarea
frameworks, php, yii
Solution
You can do this, if you absolutely have to use `$savedvalues` array:
$model->corporateaddress=$savedvalues['varCorporateAddress'];
$form->textArea($model, 'corporateaddress', array('rows'=>6, 'cols'=>50));
Problem
I need to populate the value in textarea. For text field i used the following command `$form->textField($model,'phone',array('value'=>$savedvalues['varPhone']))` It works fine. But for textarea the 'value' parameter is not supported. Here where i have to display my value parameter ``` $form->textArea($model, 'corporateaddress', array('rows'=>6, 'cols'=>50)) ```