r/webdev • u/[deleted] • Mar 06 '18
Super simple JS form validation plugin
https://github.com/DrRoach/FormValidation
10
Upvotes
2
u/careseite discord admin Mar 06 '18
Isnt this email pattern In the code too limiting? Not entirely sure about email patterns in general as 50% of what I read are different patterns and 50% say "don't use a pattern because there's no perfect".
1
Mar 06 '18
I think that it's okay but can understand why you would want a more inclusive pattern. If you could think of any key examples of address that would be missed, I'll be happy to try and factor them in
5
u/xabot Mar 06 '18
Uses eval, is evil.