field should have the error class applied as well