[eluser]Aken[/eluser]
Why exactly would you need to do this? The validation_errors() function will automatically do nothing if there are no errors to show, and you can set your own HTML wrapper around each error message through the form_validation class.