If you would like to restrict or validate mail addresses during guest registration, you can use simply restrict domains. An example of a mail validation for the provided user and sponsor mail address is.
user mail validation (the mail address should not be a company mail address)
array (
‘deny’ =>
array (
0 => ‘booches.nl’,
),
‘allow’ =>
array (
),
)
sponsor mail validation (only company mail domain is allowed)
array (
‘allow’ =>
array (
0 => ‘booches.nl’,
),
‘deny’ =>
array (
0 => ‘*’,
),
)
These settings can be changed under “Validator Arguments” from the Form fields.