title: Convenient way to populate fields in codeigniter
body: <p>Codeigniter has a very convenient way to repopulate the field on validation failure</p>
  
  <pre><code>set_value()
  </code></pre>
  
  <p>In my app I want allow user to edit the entity using the same form I use to create it. But I cannot use <code>set_value()</code> to populate the fields while the form is in editing mode.</p>
  
  <p>I there any convenient way to do it.</p>
  
  <p>Thanks.</p>