{"id":13399209,"url":"https://github.com/jquery-validation/jquery-validation","last_synced_at":"2026-02-18T14:01:19.830Z","repository":{"id":895379,"uuid":"648414","full_name":"jquery-validation/jquery-validation","owner":"jquery-validation","description":"jQuery Validation Plugin library sources","archived":false,"fork":false,"pushed_at":"2026-01-22T15:49:37.000Z","size":8627,"stargazers_count":10344,"open_issues_count":40,"forks_count":2738,"subscribers_count":439,"default_branch":"master","last_synced_at":"2026-02-10T19:55:04.487Z","etag":null,"topics":["inline-validation","javascript","jquery","jquery-validation"],"latest_commit_sha":null,"homepage":"https://jqueryvalidation.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jquery-validation.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["staabm","Arkni"]}},"created_at":"2010-05-05T13:40:20.000Z","updated_at":"2026-02-10T16:10:22.000Z","dependencies_parsed_at":"2023-07-05T15:17:04.015Z","dependency_job_id":"38e244e9-0429-43fe-b3e0-03b0650f5fee","html_url":"https://github.com/jquery-validation/jquery-validation","commit_stats":{"total_commits":868,"total_committers":244,"mean_commits":3.557377049180328,"dds":0.6762672811059908,"last_synced_commit":"0f8400fc55c801b4201ce41290b2aae21e2b20ec"},"previous_names":["jzaefferer/jquery-validation"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/jquery-validation/jquery-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jquery-validation%2Fjquery-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jquery-validation%2Fjquery-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jquery-validation%2Fjquery-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jquery-validation%2Fjquery-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jquery-validation","download_url":"https://codeload.github.com/jquery-validation/jquery-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jquery-validation%2Fjquery-validation/sbom","scorecard":{"id":536416,"data":{"date":"2025-08-11","repo":{"name":"github.com/jquery-validation/jquery-validation","commit":"707623a5cede70bdce8a911c2925f7786911e97d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 14/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/jquery-validation/jquery-validation/stale.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:19","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.21.0 not signed: https://api.github.com/repos/jquery-validation/jquery-validation/releases/165807795","Warn: release artifact 1.20.1 not signed: https://api.github.com/repos/jquery-validation/jquery-validation/releases/161033846","Warn: release artifact 1.19.5 not signed: https://api.github.com/repos/jquery-validation/jquery-validation/releases/71085466","Warn: release artifact 1.19.4 not signed: https://api.github.com/repos/jquery-validation/jquery-validation/releases/67295343","Warn: release artifact 1.21.0 does not have provenance: https://api.github.com/repos/jquery-validation/jquery-validation/releases/165807795","Warn: release artifact 1.20.1 does not have provenance: https://api.github.com/repos/jquery-validation/jquery-validation/releases/161033846","Warn: release artifact 1.19.5 does not have provenance: https://api.github.com/repos/jquery-validation/jquery-validation/releases/71085466","Warn: release artifact 1.19.4 does not have provenance: https://api.github.com/repos/jquery-validation/jquery-validation/releases/67295343"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 2 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T07:07:00.766Z","repository_id":895379,"created_at":"2025-08-20T07:07:00.766Z","updated_at":"2025-08-20T07:07:00.766Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29581478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T13:56:48.962Z","status":"ssl_error","status_checked_at":"2026-02-18T13:54:34.145Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inline-validation","javascript","jquery","jquery-validation"],"created_at":"2024-07-30T19:00:35.223Z","updated_at":"2026-02-18T14:01:19.780Z","avatar_url":"https://github.com/jquery-validation.png","language":"JavaScript","readme":"[jQuery Validation Plugin](https://jqueryvalidation.org/) - Form validation made easy\n================================\n\n[![release](https://img.shields.io/github/release/jquery-validation/jquery-validation.svg)](https://github.com/jquery-validation/jquery-validation/releases/latest)\n[![Build Status](https://github.com/jquery-validation/jquery-validation/actions/workflows/ci.yml/badge.svg)](https://github.com/jquery-validation/jquery-validation/actions/workflows/ci.yml)\n[![devDependency Status](https://david-dm.org/jquery-validation/jquery-validation/dev-status.svg?theme=shields.io)](https://david-dm.org/jquery-validation/jquery-validation#info=devDependencies)\n[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/jquery-validation/badge?style=rounded)](https://www.jsdelivr.com/package/npm/jquery-validation)\n\nThe jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.\n\n## Getting Started\n\n### Downloading the prebuilt files\n\nPrebuilt files can be downloaded from https://jqueryvalidation.org/\n\n### Downloading the latest changes\n\nThe unreleased development files can be obtained by:\n\n 1. [Downloading](https://github.com/jquery-validation/jquery-validation/archive/master.zip) or Forking this repository\n 2. [Setup the build](CONTRIBUTING.md#build-setup)\n 3. Run `grunt` to create the built files in the \"dist\" directory\n\n### Including it on your page\n\nInclude jQuery and the plugin on a page. Then select a form to validate and call the `validate` method.\n\n```html\n\u003cform\u003e\n\t\u003cinput required\u003e\n\u003c/form\u003e\n\u003cscript src=\"jquery.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"jquery.validate.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    $(\"form\").validate();\n\u003c/script\u003e\n```\n\nAlternatively include jQuery and the plugin via requirejs in your module.\n\n```js\ndefine([\"jquery\", \"jquery.validate\"], function( $ ) {\n\t$(\"form\").validate();\n});\n```\n\nFor more information on how to setup a rules and customizations, [check the documentation](https://jqueryvalidation.org/documentation/).\n\n## Reporting issues and contributing code\n\nSee the [Contributing Guidelines](CONTRIBUTING.md) for details.\n\n**IMPORTANT NOTE ABOUT EMAIL VALIDATION**. As of version 1.12.0 this plugin is using the same regular expression that the [HTML5 specification suggests for browsers to use](https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address). We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider [using a custom method](https://jqueryvalidation.org/jQuery.validator.addMethod/).\nIn case you need to adjust the built-in validation regular expression patterns, please [follow the documentation](https://jqueryvalidation.org/jQuery.validator.methods/).\n\n**IMPORTANT NOTE ABOUT REQUIRED METHOD**. As of version 1.14.0 this plugin stops trimming white spaces from the value of the attached element. If you want to achieve the same result, you can use the [`normalizer`](https://jqueryvalidation.org/normalizer/) that can be used to transform the value of an element before validation. This feature was available since `v1.15.0`. In other words, you can do something like this:\n``` js\n$(\"#myForm\").validate({\n\trules: {\n\t\tusername: {\n\t\t\trequired: true,\n\t\t\t// Using the normalizer to trim the value of the element\n\t\t\t// before validating it.\n\t\t\t//\n\t\t\t// The value of `this` inside the `normalizer` is the corresponding\n\t\t\t// DOMElement. In this example, `this` references the `username` element.\n\t\t\tnormalizer: function(value) {\n\t\t\t\treturn $.trim(value);\n\t\t\t}\n\t\t}\n\t}\n});\n```\n\n## Accessibility\nFor an invalid field, the default output for the jQuery Validation Plugin is an error message in a `\u003clabel\u003e` element. This results in two `\u003clabel\u003e` elements pointing to a single input field using the `for` attribute. While this is valid HTML, it has inconsistent support across screen readers.\n\nFor greater screen reader support in your form's validation, use the `errorElement` parameter in the `validate()` method. This option outputs the error in an element of your choice and automatically adds ARIA attributes to the HTML that help with screen reader support.\n\n`aria-describedby` is added to the input field and it is programmatically tied to the error element chosen in the `errorElement` parameter.\n\n``` js\n$(\"#myform\").validate({\n  errorElement: \"span\"\n});\n```\n\n``` html\n\u003clabel for=\"name\"\u003eName\u003c/label\u003e\n\u003cinput id=\"name\" aria-describedby=\"unique-id-here\"\u003e\n\u003cspan class=\"error\" id=\"unique-id-here\"\u003eThis field is required\u003c/span\u003e\n```\n\n[Learn more about errorElement](https://jqueryvalidation.org/validate/#errorelement)\n\n## License\nCopyright \u0026copy; Jörn Zaefferer\u003cbr\u003e\nLicensed under the MIT license.\n","funding_links":["https://github.com/sponsors/staabm","https://github.com/sponsors/Arkni"],"categories":["JavaScript","UI Components","Animation"],"sub_categories":["Form Validation","Validation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjquery-validation%2Fjquery-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjquery-validation%2Fjquery-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjquery-validation%2Fjquery-validation/lists"}