tcedi / tcedi-ovms

T.C.E.D.I. Open Visitors Management System
Apache License 2.0
23 stars 10 forks source link

Replace validation.js #1

Closed tcedi closed 7 years ago

tcedi commented 7 years ago

validation.js is still used for e-Mail address check and badge ID number check.

The new e-Mail address validation should use JavaScript compatible regular expression from HTML 5.1 recommendation: https://www.w3.org/TR/2016/REC-html51-20161101/sec-forms.html#valid-e-mail-address

Badge ID number check should use a regular expression for accepting an unsigned integer.

tcedi commented 7 years ago

Done in commit "Replace validation.js" on dev020 branch on 2017-01-31.