javascript - Incorrect Email validation hints -
i'm not big fan of email validation regexes myself have come across lot of sites have strict regexes , result have not been able user preferred email.
basically use .+@.+ make sure not forgetting @.
what i'd though give user hints if he/she has entered email incorrect. typos or weird characters.
so if enter instance mike3292@hotmaik.com can ask user if sure, , maybe hint right solution in cases.
so want know if there existing source of top email providers , common spelling mistakes. maybe regex unusual characters warn user about, asking him double check.
regex bad validating emails. if want full/real validation you'll need very complicated expression
what recommend make sure it's .*@.*\..*
check ---@---.---
, have user enter twice.
it makes easy you, easy user, , not annoying. wouldn't if pop-up suggested name invalid email address.
Comments
Post a Comment