public function beforeValidation() { if ($this->email == '[email protected]') { $this->appendMessage(new Message('Sorry Marina, but you are not allowed here')); return false; } return true; }