added validation errors to hidden fields