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.
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:
Thanks this exactly what I was looking for and it works perfectly.