Added form_set_errors in hook_form_validate.