Skip to content

Changed from blur to focusout #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions entries/validate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
Validate elements (except checkboxes/radio buttons) on blur. If nothing is entered, all rules are skipped, except when the field was already marked as invalid.
<p>Set to a Function to decide for yourself when to run validation.</p>
<p>A boolean true is not a valid value.</p>
<p><strong>Example</strong>: Disables onblur validation.</p>
<p><strong>Example</strong>: Disables focusout validation.</p>
<pre><code>
$("#myform").validate({
onfocusout: false
Expand Down Expand Up @@ -395,7 +395,7 @@
</property>
<property name="showErrors">
<desc>
A custom message display handler. Gets the map of errors as the first argument and an array of errors as the second, called in the context of the validator object. The arguments contain only those elements currently validated, which can be a single element when doing validation onblur/keyup. You can trigger (in addition to your own messages) the default behaviour by calling this.defaultShowErrors().
A custom message display handler. Gets the map of errors as the first argument and an array of errors as the second, called in the context of the validator object. The arguments contain only those elements currently validated, which can be a single element when doing validation on focusout or keyup. You can trigger (in addition to your own messages) the default behaviour by calling this.defaultShowErrors().
<p><strong>Example</strong>: Update the number of invalid elements each time an error is displayed. Delegates to the default implementation for the actual error display.</p>
<pre><code>
$("#myform").validate({
Expand Down