I'm trying to do some basic validation and ensure that emails used to create accounts end in .ac.uk but with the regexp I have it wont let me type at all in my email field, I assume this is because of live validation but I can't find a way to have it only validate on submit, any ideas?
Email validation regexp
Actions & Logic
Current regexp:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.(ac\.uk)$
Yes
1 reply