title: CodeIgniter form validation, show errors in order
body: <p>Lets say I have a login form and it has fields username and password. Both of the fields are required to be filled in and when you submit the form it has two different lines for them.</p>
  
  <p>Username field is required.
  Password field is required.</p>
  
  <p>What I want to do is to show only the username field errors and when they don't have any errors with username field, it will show the password field errors.</p>
  
  <p>How would this be done?</p>
  
  <p>Also, I remember there is a way to show errors only regarding a field, what was the snippet for it?</p>