volume_up
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
You should be able to just use the regular expression validator, possibly in conjunction with the email validator to save having to come out with a giant, all-encompasing regex for your email validation like this:

In this instance I've used the regex .*\.edu$ to allow anything which ends with .edu. When I try to submit, this gives me the following:
or

Hey Paul,
Thanks this exactly what I was looking for and it works perfectly.
Gabe
Is there a straightforward way to only allow .edu emails within Episerver forms?
I see the regular expression validator when creating a field but it doesn't seem to be working.