Skip to content

pszczesniak/login-validation

Repository files navigation

#Login validation - written in pure javascript

Javascript password and email validation. Submit via XMLHttpRequest. Tests done in Mocha. Simple frontend completely supported RWD. This validation has a lot of conditions to check:

  • proper email address based on RFC 2822 format
  • check if login/password is empty
  • check password length
  • check if password contains numbers
  • check if password contains lowercase letters
  • check if password contains uppercase letters
  • show info/error above the form after submit

All covered by tests.

Browser supported: IE9+, Firefox, Chrome, Safari.

About

frontend js validation with mocha tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published