🌐
Rickharrison
rickharrison.github.io › validate.js
validate.js
The array must contain objects ... messages. If not present in the object, the name parameter will be used. Example: If your field name is user, you may choose to use a display of "Username."...
🌐
GitHub
github.com › validatorjs › validator.js
GitHub - validatorjs/validator.js: String validation · GitHub
Without this setting, some malicious URLs cannot be distinguishable from a valid URL with authentication information. require_host - if set to false isURL will not check if host is present in the URL. require_port - if set to true isURL will check if port is present in the URL. require_valid_protocol - isURL will check if the URL's protocol is present in the protocols option. allow_underscores - if set to true, the validator will allow underscores in the URL. host_whitelist - if set to an array of strings or regexp, and the domain matches none of the strings defined in it, the validation fails
Starred by 23.8K users
Forked by 2.4K users
Languages   JavaScript
🌐
GitHub
github.com › mikeerickson › validatorjs
GitHub - mikeerickson/validatorjs: A data validation library in JavaScript for the browser and Node.js, inspired by Laravel's Validator. · GitHub
<script src="dist/validator.js"></script> <script src="dist/lang/ru.js"></script> <script> Validator.useLang('es'); </script>
Starred by 1.8K users
Forked by 283 users
Languages   JavaScript 98.5% | Shell 1.5%
🌐
Express Validator
express-validator.github.io › introduction
express-validator | express-validator
In express.js, this is parsed from the request path and matched with route definition path, but it can really be anything meaningful coming from the HTTP request. req.query: the portion after the ? in the HTTP request's path, parsed as an object from query parameter name to value. One example library that works out of the box with express-validator is Restify.
🌐
GitHub
github.com › topics › validate-js
validate-js · GitHub Topics · GitHub
jquery wrapper validation validator jquery-validation validation-library wrapper-script validate-js jquery-validate-wrapper validate-wrapper validatewrapper · Updated · Jun 9, 2022 · JavaScript · Star 2 · Example of Vertx Javascript verticle with NPM import of Validate.js ·
🌐
GitHub
github.com › rickharrison › validate.js
GitHub - rickharrison/validate.js: Lightweight JavaScript form validation library inspired by CodeIgniter.
validate.js is a lightweight JavaScript form validation library inspired by CodeIgniter. ... var validator = new FormValidator('example_form', [{ name: 'req', display: 'required', rules: 'required' }, { name: 'alphanumeric', rules: 'alpha_numeric' }, { name: 'password', rules: 'required' }, { name: 'password_confirm', display: 'password confirmation', rules: 'required|matches[password]' }, { name: 'email', rules: 'valid_email' }, { name: 'minlength', display: 'min length', rules: 'min_length[8]' }, { names: ['fname', 'lname'], rules: 'required|alpha' }], function(errors) { if (errors.length > 0) { // Show the errors } });
Starred by 2.6K users
Forked by 399 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
Validatejs
validatejs.org
validate.js
See https://github.com/ansman/validate.js/releases/tag/0.13.1 for the changelog.
🌐
GitHub
github.com › cferdinandi › validate
GitHub - cferdinandi/validate: A lightweight form validation script.
Validate.js includes smart defaults and works right out of the box. But if you want to customize things, it also has a robust API that provides multiple ways for you to adjust the default options and settings. You can pass options and callbacks into Validate through the init() function:
Starred by 227 users
Forked by 39 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
GitHub
github.com › jquery-validation › jquery-validation
GitHub - jquery-validation/jquery-validation: jQuery Validation Plugin library sources · GitHub
Include jQuery and the plugin on a page. Then select a form to validate and call the validate method. <form> <input required> </form> <script src="jquery.js"></script> <script src="jquery.validate.js"></script> <script> $("form").validate(); ...
Starred by 10.3K users
Forked by 2.7K users
Languages   JavaScript 95.5% | HTML 4.5%
Find elsewhere
🌐
GitHub
github.com › horprogs › Just-validate
GitHub - horprogs/Just-validate: Modern, simple, lightweight (~5kb gzip) form validation library written in Typescript, with no dependencies (no JQuery!). Support a wide range of predefined rules, async, files, dates validation, custom error messages and styles, localization. Support writing custom rules and plugins. · GitHub
const validation = new JustValidate('#form'); validation .addField('#name', [ { rule: 'minLength', value: 3, }, { rule: 'maxLength', value: 30, }, ]) .addField('#email', [ { rule: 'required', errorMessage: 'Email is required', }, { rule: 'email', ...
Starred by 586 users
Forked by 92 users
Languages   TypeScript 66.7% | MDX 19.8% | HTML 8.4% | CSS 2.8% | JavaScript 2.3%
🌐
GitHub
github.com › koorchik › js-validator-livr
GitHub - koorchik/js-validator-livr: Lightweight javascript validator supporting Language Independent Validation Rules Specification (LIVR)
Returns the errors object from the last validation (sync only). // Example output: { email: 'WRONG_EMAIL', password: 'TOO_SHORT', address: { zip: 'NOT_POSITIVE_INTEGER' } }
Starred by 178 users
Forked by 20 users
Languages   JavaScript 91.5% | TypeScript 8.5% | JavaScript 91.5% | TypeScript 8.5%
🌐
GitHub
github.com › ansman › validate.js
GitHub - ansman/validate.js: A declarative validation library written javascript
December 12, 2021 - Validate.js provides a declarative way of validating javascript objects.
Starred by 2.6K users
Forked by 342 users
Languages   JavaScript 54.7% | HTML 45.3% | JavaScript 54.7% | HTML 45.3%
🌐
GitHub
github.com › yairEO › validator
GitHub - yairEO/validator: HTML form validation. Perfectly made for all scenerios, lightweight, semantic & easy to use
var validatorClasses = { field : 'field', // class for each input wrapper alert : 'alert', // call on the alert tooltip bad : 'bad' // classes for bad input }; validator = new FormValidator(null, {classes:validatorClasses}); // or validator = new FormValidator(); validator.settings.classes.bad = 'error'; I have a cool feature I wrote which I call "multifields". These are fields which are often used to input a credit card or a serial number, and are actually a bunch of input fields which are “connected” to each other, and treated as one. You can see it in the demo page, and it’s included in the ‘multifield.js’ file.
Starred by 260 users
Forked by 83 users
Languages   JavaScript 61.4% | HTML 21.6% | CSS 17.0% | JavaScript 61.4% | HTML 21.6% | CSS 17.0%
🌐
Jqueryvalidation
jqueryvalidation.org
jQuery Validation Plugin | Form validation with jQuery
Download Changelog Demos Documentation GitHub Repository · Bower: bower install jquery-validation · NuGet: Install-Package jQuery.Validation · NPM: npm i jquery-validation · https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.js · https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js ·
🌐
GitHub
github.com › hapijs › joi
GitHub - hapijs/joi: The most powerful data validation library for JS · GitHub
The most powerful data validation library for JS. Contribute to hapijs/joi development by creating an account on GitHub.
Starred by 21.2K users
Forked by 1.5K users
Languages   JavaScript 97.5% | TypeScript 2.5%
🌐
Mamahmoudi
mamahmoudi.github.io › Web_Development_Course › JS_Form_Validation.html
Javascript form validation
if (EmailValue === "") { setErrorFor(Email, "Email cannot be blank"); } else if (!isEmail(EmailValue)) { setErrorFor(Email, "Email is not valid"); } else { setSuccessFor(Email); }
🌐
GitHub
github.com › scbushan05 › jquery-validation
GitHub - scbushan05/jquery-validation: This example demonstrates the client side validation using jQuery validator. The validation contains all the html elements and also contains the custom validation by using addMethod() · GitHub
This example demonstrates the client side validation using jQuery validator. The validation contains all the html elements and also contains the custom validation by using addMethod() - scbushan05/jquery-validation
Starred by 5 users
Forked by 6 users
Languages   HTML 57.5% | JavaScript 42.5%