xbmc / generator-kodi-addon

Yeoman generator for the most common Kodi addon types.
http://www.kodi.tv
Other
74 stars 25 forks source link

Add email validation #21

Closed enen92 closed 7 years ago

enen92 commented 7 years ago

Add validate field to email submission

enen92 commented 7 years ago

Regex taken from: http://www.w3resource.com/javascript/form/email-validation.php

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-3.03%) to 96.97% when pulling ee4c425b356fdfa31bb6632907e6b7967108204f on enen92:emailvalidation into 285358c480fcd6183a86a89910ecdbf214fe2ee6 on xbmc:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-3.03%) to 96.97% when pulling ee4c425b356fdfa31bb6632907e6b7967108204f on enen92:emailvalidation into 285358c480fcd6183a86a89910ecdbf214fe2ee6 on xbmc:master.

razzeee commented 7 years ago

Can you leave it empty? I also know that there are some devs that enter their email a bit changed like with [at] instead of @ is that something that's okay for us? @martijnKaijser

MartijnKaijser commented 7 years ago

not all either want to show their email address at all or even have it readily scrapable for spam bots. Email address is not mandatory imo

enen92 commented 7 years ago

Yap, it does make sense. Closing this one :)