- Code: Select all
$this->addCheck(new FormValidatorCustom($this, 'country', 'required', 'user.register.form.countryRequired'));
but this isn't complete. I tried to track this down to within FormValidatorCustom class but I'm now lost. When I test the form, leaving the Country field unset, I get this error, so the error message is formatted incorrectly and when I then go to set the country, I still get the error as if it's not set:
Can you guys point me in the right direction?