この入力の名の後に少なくとも数字が挿入されているかどうかを確認したいと思います。
したがって、ユーザーが「joe」と入力した場合、検証は行われませんが、「joed」または「joedoe」は合格します。
これはどのように行うことができますか?
$nome = $this->coalesce($form['nome']);
if (strlen($nome) > 0)
$this->setValue('nome', strtoupper($nome));
else
$this->addError('nome', 'Invalid name!');