college-form-validator v1.0.6
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
How to use First include the library in your HTML file
<!-- Yout HTML File --> <script src="node_modules/college-form-validator/index.js"></script>
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 formexample.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
Customize for your needs: Modify the example files according to your form requirements. Integrate the library by including the JavaScript file in your HTML.
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