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
<inputname="user" title="Please enter your username (at least 3 characters)" class="{required:true,minlength:3}" />
74
+
<inputname="user" title="Please enter your username (at least 3 characters)" requiredminlength="3">
77
75
</p>
78
76
<p>
79
77
<label>Password</label>
80
-
<inputtype="password" maxlength="12" name="password" title="Please enter your password, between 5 and 12 characters" class="{required:true,minlength:5}" />
78
+
<inputtype="password" maxlength="12" name="password" title="Please enter your password, between 5 and 12 characters" requiredminlength="5">
81
79
</p>
82
80
<divclass="error">
83
81
</div>
@@ -104,11 +102,11 @@ <h4>There are serious errors in your form submission, please see below for detai
<labelfor="fruit">Please select at least two fruits</label><br/>
113
-
<selectid="fruit" name="fruit" title="Please select at least two fruits" validate="required:true, minlength:2" multiple="multiple">
109
+
<labelfor="fruit">Please select at least two fruits</label><br>
110
+
<selectid="fruit" name="fruit" title="Please select at least two fruits" requiredminlength="2" multiple="multiple">
114
111
<optionvalue="b">Banana</option>
115
112
<optionvalue="a">Apple</option>
116
113
<optionvalue="p">Peach</option>
117
114
<optionvalue="t">Turtle</option>
118
115
</select>
119
116
</p>
120
-
117
+
121
118
<p>
122
-
<labelfor="vegetables">Please select no more than two vergetables</label><br/>
123
-
<selectid="vegetables" name="vegetables" title="Please select no more than two vergetables" validate="required:true, maxlength:2" multiple="multiple">
119
+
<labelfor="vegetables">Please select no more than two vergetables</label><br>
120
+
<selectid="vegetables" name="vegetables" title="Please select no more than two vergetables" requiredmaxlength="2" multiple="multiple">
124
121
<optionvalue="p">Potato</option>
125
122
<optionvalue="t">Tomato</option>
126
123
<optionvalue="s">Salad</option>
127
124
</select>
128
125
</p>
129
-
126
+
130
127
<p>
131
-
<labelfor="cars">Please select at least two cars, but no more than three</label><br/>
132
-
<selectid="cars" name="cars" title="Please select at least two cars, but no more than three" validate="required:true, rangelength:[2,3]" multiple="multiple">
128
+
<labelfor="cars">Please select at least two cars, but no more than three</label><br>
129
+
<selectid="cars" name="cars" title="Please select at least two cars, but no more than three" requiredrangelength="[2,3]" multiple="multiple">
0 commit comments