We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c550458 commit f1001e9Copy full SHA for f1001e9
entries/required-method.xml
@@ -6,6 +6,7 @@
6
Return false, if the element is empty (text input) or unchecked (radio/checkbox) or if nothing is selected (select).
7
<p>Works with text inputs, selects, checkboxes and radio buttons.</p>
8
<p>To force a user to select an option from a select box, provide an empty option element like <option value="">Choose...</option></p>
9
+ <p>Note that white spaces are considered valid.</p>
10
</longdesc>
11
<signature>
12
<desc>The element is always required.</desc>
@@ -28,7 +29,7 @@
28
29
</argument>
30
</signature>
31
<example>
- <desc>Makes "field" always required. Nothing and blanks are invalid.</desc>
32
+ <desc>Makes "field" always required.</desc>
33
<code><![CDATA[
34
$( "#myform" ).validate({
35
rules: {
0 commit comments