Hello, I am creating an event registration website for my client. The event is only for my clients’ employees, therefore I would like to limit the user e-mail input to (or validate it against) a specific domain name (eg. *@xyz.com). How can I do that?
You can add the above to a functions plugin. The above filter function will be applied if you have the “Email Validation Level” option set to “WordPress Default” in Event Espresso > Registration Form > Reg Form Settings.
Josh, I have another question connected with the previous one – how do I change the validation error message (if the given e-mail is from outside the allowed domains)?
The support post ‘[EE4 / registration form] limit user e-mail to specific domain’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.