title: How to make dynamic textarea in CActiveForm in yii
body: <p>I want to make text area in cactiveform in yii dynamically. but I am getting error i.e. "Property "Verse.translation" is not defined"</p>
  
  <p>I have <code>translation_text</code> field, not <code>translation</code> field in my db. Secondly <code>$trans['translation_text']</code> display the verse translation but when i keep it in textArea it is giving error. as i have described.</p>
  
  <p>I have a code.</p>
  
  <pre><code>&lt;?php foreach($model-&gt;verseTranslations as $trans) { ?&gt;
  &lt;?php $model-&gt;translation = $trans['translation_text']; ?&gt;
  &lt;?php echo $form-&gt;textArea($model,'translation',array('rows'=&gt;6, 'cols'=&gt;50)); ?&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>But i do not know how to keep value <code>$trans['translation_text']</code> in textArea.</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Thanks</p>