JavaScript’s scalability, flexibility, and dynamic environment provide the perfect platform for form validation libraries. There are popular JavaScript-based form components that can be used for building efficient and beautiful forms. In turn, these components enable features like form validation, debugging, and submission alerts. HTML form validation can also be done by JavaScript. This function returns an error message in case of an empty form field name (fname) or other such discrepancies. Validation can be done through various methods and deployment paths, be it server-side validation or client-side validation. These are performed by web servers after the input has been sent to the server or before that.
Here are our 41 best JavaScript form validation libraries that are open source in 2021. Moment is a library that lets you parse, validate, display, and manipulate dates in JavaScript for your application. Another library, DataLoader, is a generic utility that can be used as part of your application’s data fetching layer. It provides a simplified and consistent API over various remote data sources like databases or web services through caching and batching. On the other hand, React-jsonschema-form is a React component that is used to build Web forms from JSON Schema. All these libraries help you build highly customizable forms and enable automated form validation features.
momentby moment
Parse, validate, manipulate, and display dates in javascript.
momentby moment
JavaScript 47416 Version:Current License: Permissive (MIT)
validator.jsby validatorjs
String validation
validator.jsby validatorjs
JavaScript 21401 Version:13.9.0 License: Permissive (MIT)
joiby sideway
The most powerful data validation library for JS
joiby sideway
JavaScript 18174 Version:Current License: Others (Non-SPDX)
redux-formby redux-form
A Higher Order Component using react-redux to keep form state in a Redux store
redux-formby redux-form
JavaScript 12614 Version:v8.3.10 License: Permissive (MIT)
react-jsonschema-formby rjsf-team
A React component for building Web forms from JSON Schema.
react-jsonschema-formby rjsf-team
TypeScript 12749 Version:v5.8.1 License: Permissive (Apache-2.0)
dataloaderby graphql
DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
dataloaderby graphql
JavaScript 12227 Version:v2.2.2 License: Permissive (MIT)
falcorby Netflix
A JavaScript library for efficient data fetching
falcorby Netflix
JavaScript 10267 Version:Current License: Permissive (Apache-2.0)
jquery-validationby jquery-validation
jQuery Validation Plugin library sources
jquery-validationby jquery-validation
JavaScript 10283 Version:1.19.5 License: Permissive (MIT)
multerby expressjs
Node.js middleware for handling `multipart/form-data`.
multerby expressjs
JavaScript 10750 Version:Current License: Permissive (MIT)
jsoneditorby josdejong
A web-based tool to view, edit, format, and validate JSON
jsoneditorby josdejong
JavaScript 10364 Version:Current License: Permissive (Apache-2.0)
Parsley.jsby guillaumepotier
Validate your forms, frontend, without writing a single line of javascript
Parsley.jsby guillaumepotier
JavaScript 9041 Version:2.9.2 License: Permissive (MIT)
fine-uploaderby FineUploader
Multiple file upload plugin with image previews, drag and drop, progress bars. S3 and Azure support, image scaling, form support, chunking, resume, pause, and tons of other features.
fine-uploaderby FineUploader
JavaScript 8203 Version:5.16.2 License: Permissive (MIT)
node-fetchby node-fetch
A light-weight module that brings the Fetch API to Node.js
node-fetchby node-fetch
JavaScript 8305 Version:v2.6.11 License: Permissive (MIT)
kyby sindresorhus
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
kyby sindresorhus
TypeScript 9932 Version:v0.33.3 License: Permissive (MIT)
async-validatorby yiminghe
validate form asynchronous
async-validatorby yiminghe
TypeScript 8347 Version:Current License: Permissive (MIT)
wysihtml5by tiff
Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
wysihtml5by tiff
JavaScript 6529 Version:Current License: Permissive (MIT)
vuelidateby vuelidate
Simple, lightweight model-based validation for Vue.js
vuelidateby vuelidate
JavaScript 6640 Version:@vuelidate/core@2.0.1 License: Permissive (MIT)
formidableby node-formidable
The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
formidableby node-formidable
JavaScript 6654 Version:v3.2.5 License: Permissive (MIT)
intl-tel-inputby jackocnr
A JavaScript plugin for entering and validating international telephone numbers
intl-tel-inputby jackocnr
JavaScript 6823 Version:v18.1.6 License: Permissive (MIT)
vue-interactive-paycardby muhammed
Credit card form with smooth and sweet micro-interactions
vue-interactive-paycardby muhammed
JavaScript 5498 Version:Current License: Permissive (MIT)
unfetchby developit
🐕 Bare minimum 500b fetch polyfill.
unfetchby developit
JavaScript 5582 Version:isomorphic-4.0.2 License: Permissive (MIT)
vue-interactive-paycardby muhammederdem
Credit card form with smooth and sweet micro-interactions
vue-interactive-paycardby muhammederdem
JavaScript 4984 Version:Current License: Permissive (MIT)
jQuery-Mask-Pluginby igorescobar
A jQuery Plugin to make masks on form fields and HTML elements.
jQuery-Mask-Pluginby igorescobar
JavaScript 4689 Version:Current License: Others (Non-SPDX)
happypackby amireh
Happiness in the form of faster webpack build times.
happypackby amireh
JavaScript 4246 Version:Current License: Permissive (MIT)
formvalidationby formvalidation
The best @jquery plugin to validate form fields. Designed to use with Bootstrap + Zurb Foundation + Pure + SemanticUI + UIKit + Your own frameworks.
formvalidationby formvalidation
JavaScript 2779 Version:Current License: No License
chess.jsby jhlywa
A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
chess.jsby jhlywa
TypeScript 3161 Version:v1.0.0-beta.6 License: Permissive (BSD-2-Clause)
formsy-reactby christianalfoni
A form input builder and validator for React JS
formsy-reactby christianalfoni
JavaScript 2599 Version:0.19.5 License: Permissive (MIT)
jQuery-Validation-Engineby posabsolute
jQuery form validation plugin
jQuery-Validation-Engineby posabsolute
JavaScript 2584 Version:v3.1.0 License: No License
validate.jsby rickharrison
Lightweight JavaScript form validation library inspired by CodeIgniter.
validate.jsby rickharrison
JavaScript 2539 Version:v1.5.1 License: Others (Non-SPDX)
angular-schema-formby json-schema-form
Generate forms from a JSON schema, with AngularJS!
angular-schema-formby json-schema-form
JavaScript 2473 Version:v0.8.14 License: Permissive (MIT)
bootstrap-validatorby 1000hz
A user-friendly HTML5 form validation jQuery plugin for Bootstrap 3
bootstrap-validatorby 1000hz
JavaScript 2407 Version:v0.11.9 License: Permissive (MIT)
jsonformby jsonform
Build forms from JSON Schema. Easily template-able. Compatible with Bootstrap 3 out of the box.
jsonformby jsonform
JavaScript 2624 Version:v2.2.5 License: Permissive (MIT)
angular-formlyby formly-js
JavaScript powered forms for AngularJS
angular-formlyby formly-js
JavaScript 2242 Version:v8.4.1 License: Permissive (MIT)
vue-validatorby kazupon
:white_check_mark: Validator component for Vue.js
vue-validatorby kazupon
JavaScript 2230 Version:v3.0.0-alpha.2 License: Permissive (MIT)
Uniformby AudithSoftworks
A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!
Uniformby AudithSoftworks
JavaScript 2230 Version:Current License: Permissive (MIT)
react-formby tannerlinsley
⚛️ Hooks for managing form state and validation in React
react-formby tannerlinsley
JavaScript 2208 Version:3.0.0 License: No License
backbone-formsby powmedia
Form framework for BackboneJS with nested forms, editable lists and validation
backbone-formsby powmedia
JavaScript 2187 Version:v0.14.1 License: Permissive (MIT)
Bootstrap-Form-Builderby minikomi
Web app for drag drop building bootstrap forms.
Bootstrap-Form-Builderby minikomi
JavaScript 2115 Version:Current License: Permissive (MIT)