915 Commits

Author SHA1 Message Date
bytestream 75d4f8a8af Chore: move demo/ to jquery-validation/jquery-validation.github.io 2026-06-01 11:23:58 +01:00
bytestream fa89296d86 Chore: update docs repo links 2026-06-01 11:19:52 +01:00
EricDunsworth 16db05488c Localization: Add French accept translation (#2534) 2026-03-31 10:56:55 +01:00
Jonathan Goode 0a83b89a0d Chore: Add 1.21.0–1.22.1 entries to changelog (#2533)
* Chore: fix single quotes

* Chore: use full links instead of short references for pull requests and issues

* Chore: add 1.21.0–1.22.1 entries to changelog
2026-03-12 15:21:16 +00:00
Yuki Matsuhashi c018f8e6dd Additional: Fix wildcard handling in accept method (#2531)
Treat "*" as a wildcard in accept mimetype values (e.g. "*") to avoid regex errors and accept valid file types as intended.

Closes jquery-validation/jquery-validation#2487.
2026-02-25 09:41:07 +00:00
bytestream adf8751ad1 Build: Updating the master version to 1.22.2-pre. 2026-02-18 12:00:36 +00:00
Copilot 1ae2d9233d Fix TypeError when form contains input with name="id" (#2528)
* Initial plan

* Core: Fix form.id property collision with input name="id"

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Core: Revert Gruntfile changes (not needed for fix)

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>
2026-02-18 11:53:15 +00:00
bytestream 3730881c9e Build: Updating the master version to 1.22.1-pre. 2026-01-22 15:49:30 +00:00
bytestream 15e2a56122 Chore: set version to 1.22.0-pre 2026-01-22 15:45:02 +00:00
Copilot e5097114bf Add jQuery 4.0.0 support (#2524)
* Initial plan

* Package: Add jQuery 4.0.0 support to peerDependencies

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Build: Remove package-lock.json and update .gitignore

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Chore: test on jquery 4.0.0 and mockjax 2.7.0

* Chore: bump jquery.simulate.js to 1.1.1

* Chore: replace $.trim

* Chore: fix test

* Chore: use pushStack instead of push

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>
Co-authored-by: bytestream <kieran@supportpal.com>
2026-01-22 15:36:46 +00:00
Copilot 4a25a8ff62 Core: Add support for HTML5 form attribute on elements outside form (#2521)
* Initial plan

* Core: Add support for form attribute on elements outside form

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Core: Also update findByName to support form attribute

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Build: Remove package-lock.json and add to gitignore

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Tests: Add assertion to check form exists before validating

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Revert: "Tests: Add assertion to check form exists before validating"

This reverts commit e3c28f7912.

* Revert: "Build: Remove package-lock.json and add to gitignore"

This reverts commit dff7ce8640.

* Fix: dont use self closing tag on custom-text element

* Chore: remove package-lock.json

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>
Co-authored-by: bytestream <kieran@supportpal.com>
2025-11-14 11:16:27 +00:00
Copilot 94418e4283 Additional: Replace deprecated substr() with slice() and charAt() in cifES.js (#2520)
* Initial plan

* Initial plan: Replace deprecated substr with slice

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Additional: Replace deprecated substr with slice and charAt in cifES

* Build: Remove package-lock.json and add to gitignore

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

* Build: Revert .gitignore changes

Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bytestream <1788397+bytestream@users.noreply.github.com>
2025-10-03 13:37:45 +01:00
eden-jh 6eb2df0da1 Core: Unnecessary aria-describedby (#2410)
* Core: progress on removing aria-describedby from valid fields

* core: aria-describedby

* Core: remove aria-describedby when hiding error

* Core: fix syntax issues, Test: add test for new setting

* Core: Fix bugs in aria-describedby behavior and related tests

* Core: bugfix for labels without id

* Core: don't create a new error element if one exists

* Core: progress on test for group of fields with ariaDescribedbyCleanup

* Core: Groups aria-describedby

* Core: fix aria-describedby not being removed from grouped fields

Ensure that aria-describedby is removed from all members of a group when 
all the known errors are resolved

* Core: Update capitalization

* Demo: Add page for ariaDescribedByCleanup

* Core: add setting to remove aria-describedby from valid fields

Includes additional unit tests and a demo page

* Core: Fix camel case inconsistency, remove stray comment

* Update demo/css/cmxform.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Kieran <kieran.brahney@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-03 11:46:18 +01:00
appel 707623a5ce Localization: Additional string translations for messages_nl.js (#2517)
* Update messages_nl.js

Additional string translations (on par with DE).

* Fixes styling issue.

Added missing spaces inside the parentheses of $.validator.format() calls.
2025-06-12 11:22:47 +01:00
Kieran 07d2594c82 Chore: downgrade ubuntu (#2518) 2025-06-12 11:20:12 +01:00
Kieran 6cd68f68e3 Update stale.yml 2024-12-16 19:10:59 +00:00
Kieran Brahney bd54405de2 Build: Updating the master version to 1.21.1-pre. 2024-07-17 10:45:25 +01:00
Kieran 09f67cbf77 Update package version 2024-07-17 10:18:39 +01:00
Christopher Stieg e837cc49be Core: Allow negative decimal with no 0 (#2483)
* Core: Allow negative decimal with no 0

* Update regex

---------

Co-authored-by: METALCOMPINC\cstieg <cstieg@metalcompinc.com>
Co-authored-by: Kieran <kieran.brahney@gmail.com>
2024-06-29 11:11:15 +01:00
Daniel Hobi 75f51237e4 Core: Add support for Web Components (#2493)
Co-authored-by: Daniel Hobi <daniel.hobi@swisslearninghub.com>
2024-06-28 16:10:19 +01:00
Kieran Brahney 0f8400fc55 Chore: update changelog 2024-06-13 14:38:39 +01:00
Kieran Brahney 2195164594 Build: Updating the master version to 1.20.2-pre. 2024-06-13 14:28:14 +01:00
Sylvain Monné 569e62234c Core: fix remote validation when input is the same as in aborted request (#2481)
Fixes #2479
2024-04-21 09:59:31 +01:00
Mohamed Baddi 0c811ce17c Localization: Update Arabic translations (#2485)
* feat: update arabic messages translations

* psr: coding style

* wip: coding style
2024-03-20 13:06:54 +00:00
bytestream 672a3601d7 Chore: update changelog.md 2023-10-10 00:27:38 +01:00
bytestream a354e8ac25 Build: Updating the master version to 1.20.1-pre. 2023-10-10 00:15:15 +01:00
bytestream 99772f23f2 Update generateArtifacts command in build/release.js 2023-10-09 23:56:40 +01:00
bytestream 2ecb6be81a Update version 1.20.0-pre 2023-10-09 23:47:29 +01:00
EricDunsworth 7ba6372c04 Localization: Rename message_hi.js to messages_hindi.js (#2470)
This makes it consistent with other i18n file names
(which are all written in plural).
2023-08-25 10:27:11 +01:00
EricDunsworth bb5ec97ac3 Localization: Add French currency translation (#2471) 2023-08-17 15:48:44 +01:00
Kieran 3cdcde80e4 Update 02_feature_request.md 2023-08-17 12:37:23 +01:00
Kieran fa8d211a3e Update 01_bug_report.md 2023-08-17 12:36:48 +01:00
Kieran 935280706c Update stale.yml 2023-06-14 23:49:59 +01:00
Kieran 716cdc92d1 Update 01_bug_report.md 2023-06-14 23:48:02 +01:00
Volkan Ceylan 7a490d8f39 Core: Added escapeHtml option to avoid XSS attacks via showLabel methods (#2462) 2023-02-01 10:26:18 +00:00
Leonardo Spina cfe74a19b6 Core: Call to resetInternals removed in remote validation callback (#2242)
* Core: Call to resetInternals removed in remote validation callback

* Core: Add unit test for issue #2150 fix

* Core: fix code style errors

Co-authored-by: leonardospina <leo@babieleo.it>
Co-authored-by: Julien Tschäppät <julien.tschappat@smartliberty.ch>
2023-01-24 11:37:07 +00:00
Warren White 13b859e357 Additional: vinUS validation fails on valid vin numbers (#2460)
* Removed === compare, changed to ==
Compare by value and type (===) does not work for this algorithm, as both cd and cdv can be either types at the same time.
By comparing by value only (==) cd and cdv can be either integer or string, as a string number will be converted to a number reqardless of type.

* Rewrote forloop, removed nested forloop

* Additional: fixed spacing issues

* Additional: Add vinUS.js validation test cases

Test cases include default test with 17 one's, and additional US and Canada VIN

* Additional: add two more test casses for vinUS

* Additional: removed text license number, should be VIN
2022-12-01 10:50:24 +00:00
Saurabh 29fb609cd0 Localization: Add Hindi translation (#2453)
* Localisation: Update Hindi (India) translation

* Hindi Translation for Step Method

* HIndi-India Local messages for additional method

* file rename as per  ISO 639-1 format

* removed duplicate message, causing the test fail

* removed duplicate "cifES" error message
2022-11-11 16:29:31 +00:00
Jonathan d46e86c143 Demo: fix minlength validation in ajaxSubmit-integration-demo.html (#2454) 2022-11-11 10:40:48 +00:00
Flávio Monteiro f1bb23544b Localization: Improve required translation in pt_BR (#2445)
"É requerido" although correct is weird in this context (it's much more used in formal settings for documents known as requerimentos) and too much of a literal translation. This change aims to improve user-friendliness in this particular message.
2022-10-13 10:36:37 +01:00
Sylvain Monné 98fbc5f428 Core: remove pending class from fields with an aborted request (#2436)
Ref #2434
Ref #2435

Co-authored-by: Sylvain Monné <sylvain@monne.me>
2022-07-17 12:21:36 +01:00
Sylvain Monné 980087a897 Core: fix race condition in remote validation rules (#2435)
Fixes #2434

Co-authored-by: Sylvain Monné <sylvain@monne.me>
2022-07-15 22:26:56 +01:00
Kieran 24f2e277f1 Chore: correct 1.19.5 release date 2022-07-01 21:39:27 +01:00
Kieran Brahney 73c645d7d5 Chore: update changelog 2022-07-01 16:30:42 +01:00
Kieran Brahney 1c4f409aef Build: Updating the master version to 1.19.6-pre. 2022-07-01 16:20:23 +01:00
Kieran 5bbd80d27f Merge pull request from GHSA-ffmh-x56j-9rc3
(cherry picked from commit a3908cc082465000a3afa4bed47418b6e02c14ed)
2022-07-01 17:00:37 +02:00
Kieran 3d3c1fb880 Chore: Add CodeQL analysis 2022-06-23 17:05:23 +01:00
Kieran 0da490675c Core: fix deprecated jquery .submit() event shorthand (#2430)
* Core: fix deprecated jquery .submit() event shorthand

* Core: jscs
2022-05-23 23:48:30 +01:00
EricDunsworth 1b79877af7 Localization: Add periods to messages (#2266)
All core messages end with periods. But additional/localization messages were
previously using them inconsistently.

This commit adds message periods to:
* Additional files that lacked them
* Localization files that were already mostly using them
* Italian (it) localization file

Didn't add any periods to non-Latin localization files that previously weren't
using them at all (AR, bn_BD, he, hy_AM, sd, th, ur, zh and zh_TW).
2022-05-23 11:50:05 +01:00
Kieran Brahney b68e282cc4 Chore: update changelog 2022-05-19 16:53:14 +01:00