CodeIgniter Error CSS Classes

When version 1.7 of CodeIgniter was released, they introduced a new form validation class that vastly simplified things. I particularly liked the new way in which any errors that occurred during form validation were displayed on screen. Where as before, an error message for a field was displayed as follows: <?=$this->validation->myfield_error?><?=$this->validation->myfield_error?> It seemed much neater …