Skip to content

Commit

Permalink
Add type='text' to input fields without type attribute to please qSA
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Nov 22, 2011
1 parent 5f4a3a5 commit 9050de7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions demo/themerollered.html
Expand Up @@ -34,18 +34,18 @@
<legend class="ui-widget ui-widget-header ui-corner-all">Please provide your name, email address (won't be published) and a comment</legend>
<p>
<label for="cname">Name (required, at least 2 characters)</label>
<input id="cname" name="name" class="required ui-widget-content" minlength="2" />
<input id="cname" name="name" class="ui-widget-content" minlength="2" required type="text" />
<p>
<label for="cemail">E-Mail (required)</label>
<input id="cemail" name="email" class="required email ui-widget-content" />
<input id="cemail" name="email" class="ui-widget-content" type="email" required />
</p>
<p>
<label for="curl">URL (optional)</label>
<input id="curl" name="url" class="url ui-widget-content" value="" />
<input id="curl" name="url" class="ui-widget-content" value="" type="url" />
</p>
<p>
<label for="ccomment">Your comment (required)</label>
<textarea id="ccomment" name="comment" class="required ui-widget-content"></textarea>
<textarea id="ccomment" name="comment" class="ui-widget-content" required></textarea>
</p>
<p>
<button class="submit" type="submit">Submit</button>
Expand All @@ -58,15 +58,15 @@
<legend class="ui-widget ui-widget-header ui-corner-all">Validating a complete form</legend>
<p>
<label for="firstname">Firstname</label>
<input id="firstname" name="firstname" />
<input id="firstname" name="firstname" type="text" />
</p>
<p>
<label for="lastname">Lastname</label>
<input id="lastname" name="lastname" />
<input id="lastname" name="lastname" type="text" />
</p>
<p>
<label for="username">Username</label>
<input id="username" name="username" />
<input id="username" name="username" type="text" />
</p>
<p>
<label for="password">Password</label>
Expand All @@ -78,7 +78,7 @@
</p>
<p>
<label for="email">Email</label>
<input id="email" name="email" />
<input id="email" name="email" type="email" />
</p>
<p>
<label for="agree">Please agree to our policy</label>
Expand Down

0 comments on commit 9050de7

Please sign in to comment.