restore error class being triggered on form fields with input errors