Quantcast
Channel: validator Discussions Rss Feed
Viewing all articles
Browse latest Browse all 20

New Post: Help validating email

$
0
0

Thanks for the feedback, the validation for the email is done using a regular expression from this page: http://www.regular-expressions.info/email.html. I went with the safer option by using the one from the standard defining the structure of an email address, but if you use the much shorter one he suggests at the top of the page it would pick up the typo you mentioned. You will find the regex to replace at the bottom of the validation script file in the var called validators. The purpose of this var is to make it easier to define your own validators that you can reuse which email is an example of, with name and function that is to return true for valid and false for not valid.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>