For anybody that uses $this->validation->(fieldname)_error in their code for showing individual errors, have you ever noticed that it doesn’t work for fields when you leave them blank? this seems just be a small oversight. To fix it I just added the following lines at Line 231 in the run() method.
// Set the error variable. Example: $this->username_error
$error = $field . '_error';
$this->$error = $this->_error_prefix . sprintf($line, (!isset($this->_fields[$field])) ? $field : $this->_fields[$field]) . $this->_error_suffix;
It’s pretty much a duplication of the code at line ~ 331. Just in case this helps somebody.
PS: Annoying fact #2: you can’t post on this forum with Javascript disabled. -_-
