Hi,
I've got a mform() with a validation() function, which defines two elements in the $errors array, and would like to customize the error message output depending on the error(s) triggered. Printing out the $mform object shows me the (protected) _error array, but I'd like to get this when using the form.
Is there a way to get the error array once the validation has failed? See this discussion too, that asked the same question.