login-form-validator

1.0.0 • Public • Published

File validationLibrary.js contains four(4) functions to help you validate your input values. This library includes the following:

  1. Name validation - where,

    • inputName is the field where name should be entered
    • inputName.value is entered name
    • nameRegex is the regular expression/ sequence of characters created to define and validate the input value of the name field
  2. Phone validation - where,

    • inputPhone is the field where phone should be entered
    • inputPhone.value is entered phone
    • phoneRegex is the regular expression/ sequence of characters created to define and validate the input value of the phone field
  3. Email validation

    • inputEmail is the field where email should be entered
    • inputEmail.value is entered email
    • emailRegex is the regular expression/ sequence of characters created to define and validate the input value of the email field
  4. Password validation

    • inputPassword is the field where password should be entered
    • inputPassword.value is entered password
    • passwordRegex is the regular expression/ sequence of characters created to define and validate the input value of the password field

Readme

Keywords

Package Sidebar

Install

npm i login-form-validator

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.86 kB

Total Files

3

Last publish

Collaborators

  • shvetsmariia