You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/documentation.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ You may need different ways to specify validation rules according to the server-
11
11
**"But aren't there already a ton of validation plugins out there?"**
12
12
Right, there are a lot of non-jQuery-based solutions (which you'd avoid since you found jQuery) and some jQuery-based solutions. This particular one is one of the oldest jQuery plugins (started in July 2006) and has proved itself in projects all around the world. There is also an [article](http://bassistance.de/2007/07/04/about-client-side-form-validation-and-frameworks/) discussing how this plugin fits the bill of the should-be validation solution.
13
13
14
-
Not convinced? [Have a look at this example](http://jqueryvalidation.org/files/demo/):
14
+
Not convinced? [Have a look at this example](https://jqueryvalidation.org/files/demo/):
Based on an old version of the marketo.com sign-up form. The custom validation was once replaced with this plugin. Thanks to Glen Lipka for contributing it!
181
181
182
182
*Notable features of the demo:*
@@ -187,23 +187,23 @@ Based on an old version of the marketo.com sign-up form. The custom validation w
187
187
* A custom method for making the billing address on step 2 optional when "Same as Company Address" is checked
188
188
* A custom method for checking the password: Checks that the password contains at least one number and one character and that it is at least 6 characters long. If the user blurs the field with an invalid value, the input is emptied and gets focus again.
189
189
190
-
## [The Remember The Milk sign-up form](http://jqueryvalidation.org/files/demo/milk/)
190
+
## [The Remember The Milk sign-up form](https://jqueryvalidation.org/files/demo/milk/)
191
191
The sign-up form from rememberthemilk.com (based on an older version). The custom validation was replaced using this plugin. Thanks to RTM for contributing!
192
192
193
193
*Notable features of the demo:*
194
194
195
195
* Custom message display, based on the original table layout, using success option to display a checkmark for valid fields
196
196
* Remote validation of username, to check if it is already taken (try "Peter", "asdf" or "George")
197
197
198
-
## [A multipart "buy&sell a house" form](http://jqueryvalidation.org/files/demo/multipart/)
198
+
## [A multipart "buy&sell a house" form](https://jqueryvalidation.org/files/demo/multipart/)
199
199
Contributed by Michael Evangelista, showing a multipart form for buying and selling houses.
200
200
201
201
*Notable features of the demo:*
202
202
203
203
* Multipart, implemented using the jQuery UI accordion and a custom method to check if an element is on the current page when validated
204
204
* Integration with masked-input plugin, see Phone and Zip fields
205
205
206
-
## [Using remote validation to help with captchas](http://jqueryvalidation.org/files/demo/captcha/)
206
+
## [Using remote validation to help with captchas](https://jqueryvalidation.org/files/demo/captcha/)
207
207
Features remote validation for helping the user to fill out captchas.
Copy file name to clipboardExpand all lines: pages/reference.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ To skip validation while still using a submit-button, add the attribte "formnova
106
106
107
107
This used to work by adding `class="cancel"` to the input, this is now deprecated.
108
108
109
-
[Demo for the cancel button](http://jqueryvalidation.org/files/demo/errorcontainer-demo.html)
109
+
[Demo for the cancel button](https://jqueryvalidation.org/files/demo/errorcontainer-demo.html)
110
110
111
111
# Validation event
112
112
By default, forms are validated on submit, triggered by the user clicking the submit button or pressing enter when a form input is focused (option `onsubmit`). In addition, once a field was highlighted as being invalid, it is validated whenever the user types something in the field (option `onkeyup`). When the user enters something invalid into a valid field, it is also validated when the field loses focus (option `onblur`).
0 commit comments