diff --git a/code/Form/UserFormsRequiredFieldsValidator.php b/code/Form/UserFormsRequiredFieldsValidator.php index d19307dd..9db401b8 100644 --- a/code/Form/UserFormsRequiredFieldsValidator.php +++ b/code/Form/UserFormsRequiredFieldsValidator.php @@ -35,12 +35,6 @@ public function php($data) $valid = true; $fields = $this->form->Fields(); - foreach ($fields as $field) { - $result = $field->validate(); - $valid = $result->isValid() && $valid; - $this->result->combineAnd($result); - } - if (empty($this->required)) { return $valid; }