it's possible on a email filed (form builder) to restric some domains like "@gmail.com"?
I want to acept only some email in registration form.
it's possible on a email filed (form builder) to restric some domains like "@gmail.com"?
I want to acept only some email in registration form.
You can first play with Symfony EmailValidator:
https://symfony.com/doc/current/reference/constraints/Email.html
Or you can use something like that, playing with custom constraint:
https://stackoverflow.com/a/36452969/8526318