So I am fiddling with the Yii Framework and in one of the views, specifically the create form, I am trying to give one of my textfields a default value. Therefore when I go onto
Here is my code that I am sending fixed value into database and show that value readonly.
textField($model,'pp_status', array('value'=>'Open', 'readonly' => 'true')); ?>