Skip to content

uendicode/FormValidations-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

FormValidations-JavaScript

Form Validation in JavaScript is a method to authenticate the user; provides a way to validate the form's data on the client's computer before sending it to the webserver.

CONTACT US VALIDATION

ImgName

In this script, we validate the name, subject, phone number and the message of the user:

  1. The fields must not be empty.
  2. Subject must be al least 10 characters long.
  3. Phone number should be valid (10 digit number).
  4. Message should be at least 50 characters long.

CREATE ACCOUNT VALIDATE

ImgName

In this script we validate the username, email and password of the user:

  1. The fields shouldn't be empty.
  2. The email should be in the appropriate format.
  3. Password should be at least 8 characters long, 1 uppercase letter, 1 lowercase letter and 1 number.
  4. Two passwords should match with each other.

ImgName

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published