errors notices have to be handled outside the form