displaying validation errors on the form