1.0.6 • Published 3 months ago

college-form-validator v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

college-form-validator

A library to validate forms with precision and security. This library specializes in seamless checks for common fields - email, password, and text areas.

Features

  • Emails: Exclusive to "mohawkcollege.ca" domains for a targeted user base.
  • Passwords: Robust security—8 characters, special characters, numbers. Unique: User's first name is restricted.
  • Text Areas: Set maximum length characters as per your needs for validation.

Enhance user experience with thorough and effective form validation.

Installation

You can install this package using npm: npm install college-form-validator

Usage

  1. How to use First include the library in your HTML file

    <!-- Yout HTML File -->
    <script src="node_modules/college-form-validator/index.js"></script>
  2. Set Up Form You can access the example files in the installed package directory. Once the installation is complete, navigate to the installed package directory:

  • cd node_modules/form-validation-library

  • You will find the following files

    • example.css: Example CSS styles for the form
    • example.html: Example HTML form with the applied styles and form validation
  • Open the example.html file in a web browser to see the example form and how the validation library is integrated
  1. Customize for your needs: Modify the example files according to your form requirements. Integrate the library by including the JavaScript file in your HTML.

  2. Implement in your project Copy the customized files into your project directory and integrate them into your web application.

License

This project is licensed under the ISC License

Contact

For questions or feedback, you can reach me at nisarg1708nayak@gmail.com

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago