Hooking validates

I want to hook the validation routines so that I can flag html labels
and change their color to better indicate which fields need to be
corrected in a form.

Is there a way to do this conveniently and/or conventionally?

Have a look at field_error_proc


you can interrogate the model errors to see what fields are invalid,
but it's easier to use a plugin that someone else has already done the
same thing in. I've recently used Formtastic to generate forms and the
resultant helpful, highlighted errors.

Michael Pavling wrote: