Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Email verification…oh no, not that! Reply To: Email verification…oh no, not that!

#184826
__
Participant

a regex that really validates email addresses is quite long, and might not exist anyway.

As shaneisme noted, client-side validation is nothing but a user convenience anyway, so there’s no point in expending too much energy on it. The more fine-grained you make your check, the more likely you are to end up with false negatives, which is bad UX. Even server-side, the only true test of validity is actually sending an email and getting a response back.