Skip to content

Commit d23a2e2

Browse files
sparky672staabm
authored andcommitted
Entries: Changed from blur to focusout (#37)
Self-explanatory... certain descriptions still referred to the onfocusout/focusout option as onblur/blur. Should be changed to reflect the actual option.
1 parent 6db2536 commit d23a2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/validate.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
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.
232232
<p>Set to a Function to decide for yourself when to run validation.</p>
233233
<p>A boolean true is not a valid value.</p>
234-
<p><strong>Example</strong>: Disables onblur validation.</p>
234+
<p><strong>Example</strong>: Disables focusout validation.</p>
235235
<pre><code>
236236
$("#myform").validate({
237237
onfocusout: false
@@ -395,7 +395,7 @@
395395
</property>
396396
<property name="showErrors">
397397
<desc>
398-
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().
398+
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().
399399
<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>
400400
<pre><code>
401401
$("#myform").validate({

0 commit comments

Comments
 (0)