title: how to show success message for each field in codeigniter
body: <p>how to show success message against each form field like we show error message for each field..when i write </p>
  
  <pre><code>&lt;?if(form_error('username')) {
    //show error message
  }
  else
     // show success message
  ?&gt;
  </code></pre>
  
  <p>it shows success message when the form is loaded without validating anything..</p>