OSS TanbouSign in with GitHub

Add rules, custom validators, normalization, and ARIA-aware client-side validation to existing forms

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
10,317
Primary language
JavaScript
License
MIT
Repository last updated
Jun 29, 2026
On this page

Overview

jQuery Validation Plugin 1.22.1 adds client-side validation to existing HTML forms. The validate() API configures rules and customization, while normalizers and errorElement settings support value preprocessing and accessible error markup.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Apply validation to a form with validate()

The README shows loading jQuery and the plugin and calling validate() on a form, keeping integration small for existing markup.

Sources: [1]

Adapt rules with custom methods and normalizers

The documentation points to custom methods for application-specific validation and normalizers for transforming values before validation.

Sources: [1]

Improve screen-reader output with errorElement and ARIA attributes

When errorElement is configured, the plugin can associate the generated error element with the input through aria-describedby.

Sources: [1]

Best fit

Fits existing jQuery forms that need consistent validation behavior

It centralizes required checks, messages, normalization, and custom rules while preserving an existing jQuery-oriented form architecture.

Sources: [1]

Before adoption

Version 1.22.1 supports jQuery peer ranges from 1.x through 4.x

Package metadata declares jQuery ^1.7 || ^2.0 || ^3.1 || ^4.0 as the peer dependency range.

Sources: [2]

Version 1.22.1 fixes a TypeError for forms containing an input named id

The 1.22.1 release and changelog record a fix for a TypeError triggered when a form contains an input with name="id".

Sources: [3][4]

Official sources

  1. [1]jQuery Validation 1.22.1 README(2026-10-05)
  2. [2]jQuery Validation 1.22.1 package metadata(2026-10-05)
  3. [3]jQuery Validation 1.22.1 release(2026-10-05)
  4. [4]jQuery Validation changelog(2026-10-05)
  5. [5]jQuery Validation MIT license(2026-10-05)
Supplemental curator note

Version 1.22.1 accepts jQuery ^1.7, ^2.0, ^3.1, or ^4.0 as peers. Client-side validation should not be treated as a security boundary; keep authoritative validation on the server as well.

Try it in 3 steps

  1. 1

    Install pinned jQuery Validation 1.22.1 with jQuery 4.0.0

    Create an isolated npm project with the reviewed validation plugin and jQuery versions pinned.

    demo=$(mktemp -d "${TMPDIR:-/tmp}/jquery-validation.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact jquery-validation@1.22.1 jquery@4.0.0
  2. 2

    Verify package versions

    Require jQuery Validation and jQuery to resolve to the reviewed versions.

    test "$(node -e "const fs=require('fs');const v=p=>JSON.parse(fs.readFileSync(p)).version;console.log(v('node_modules/jquery-validation/package.json')+'/'+v('node_modules/jquery/package.json'))")" = '1.22.1/4.0.0'
  3. 3

    Check distributed bundles and the jQuery 4 peer range

    Verify the main/additional bundles and jQuery 4 peer support without starting a browser.

    test -f node_modules/jquery-validation/dist/jquery.validate.js && test -f node_modules/jquery-validation/dist/additional-methods.js && node -e "const p=require('./node_modules/jquery-validation/package.json');if(!p.peerDependencies.jquery.includes('^4.0'))process.exit(1)"
Check the official README

Growth

Growth trends · Last 30 days

10,317 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
0
Open PRs
17

Development activity is still being collected.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • jquery
  • javascript
  • jquery-validation
  • inline-validation
Stars
10,317
Forks
2,700
Watchers
442
Open issues
25
Contributors
206
Owner type
Organization
Primary language
JavaScript
License
MIT
Repository last updated
Jun 29, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?