if (!preg_match("@^[a-zA-ZĄąĘęÓóĆ棳ŃńŚśŹźŻż\s]+$@", $value)) {
$this->errorMessage = 'Name must only contain letters!';
}
if (!preg_match("@^[a-zA-ZĄąĘęÓóĆ棳ŃńŚśŹźŻż\s]+$@", $value)) {
$this->errorMessage = 'Name must only contain letters!';
}