📜 NFSFU234FormValidation Library

NFSFU234FormValidation is a robust and flexible JavaScript library for validating forms with ease. Whether you're building complex forms or simple inputs, this library has you covered.
Documentation & Examples 📚
- Documentation: Explore the full documentation for installation instructions, detailed usage, and API references.
- Examples Repository: Browse additional examples to see the library in action.
Quick Start 🚀
npm install nfsfu234-form-validation
For more setup and usage details, visit the Getting Started page.
License 📝
This project is licensed under the MIT License. See the LICENSE file for details.
[3.0.0-beta] - 2024-08-25
Important Notes
- 🚨 Repository Transfer: This repository has been moved from nforshifu234dev's personal account to the NFSFU234FormValidation organization. Access it under the NFSFU234FormValidation organization by clicking here.
Added
- Framework Compatibility: Added support for React JS and Vite, allowing seamless integration with these frameworks.
- TypeScript Upgrade: The library has been upgraded from Vanilla JavaScript to TypeScript for enhanced code efficiency and debugging.
- Error Handling Enhancements: Introduced the
ErrorMessage
and ErrorHandler
interfaces for clearer error insights, allowing errors to be handled as HTML elements, text, or null.
- Revamped Methods: Redesigned
submit
and validate
methods to return a Promise resolving to an ErrorMessageInterface
, providing detailed feedback on validation results.
Updated
- Class and ID Renaming: Updated the
js-required
class to nfsfu234-fv-required
and the jsSubmit
ID to nfsfu234-fv-form
to maintain a consistent naming convention.
- Website Improvements: Ongoing work to enhance the website for a more user-friendly experience, with final changes expected by the stable release.
Removed