Skip to content

Commit

Permalink
Added format required for URLs by jQuery Validation in Form validatio…
Browse files Browse the repository at this point in the history
…n examples.
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Jul 6, 2012
1 parent 576b879 commit 54d6558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/formvalid/formvalid-eng.html
Expand Up @@ -115,7 +115,7 @@ <h1 id="wb-cont">Form validation</h1>
<div><label for="lname1"><span class="field-name">Last Name</span> <strong>(required)</strong></label><input id="lname1" name="lname1" type="text" class="{validate:{required:true,minlength:3}}" /></div>
<div><label for="tel1"><span class="field-name">Telephone Number</span> (999-999-9999) <strong>(required)</strong></label><input id="tel1" name="tel1" type="tel" class="{validate:{required:true,phoneUS:true}}" /></div>
<div><label for="email1"><span class="field-name">Email Address</span></label><input id="email1" name="email1" type="email" /></div>
<div><label for="url1"><span class="field-name">Website URL</span></label><input id="url1" name="url1" type="url" /></div>
<div><label for="url1"><span class="field-name">Website URL (e.g., http://www.url.com)</span></label><input id="url1" name="url1" type="url" /></div>
</fieldset>

<fieldset><legend>Other examples</legend>
Expand Down
2 changes: 1 addition & 1 deletion demos/formvalid/formvalid-fra.html
Expand Up @@ -115,7 +115,7 @@ <h1 id="wb-cont">Validation des formulaires</h1>
<div><label for="lname"><span class="field-name">Nom de famille</span> <strong>(obligatoire)</strong></label><input id="lname" name="lname" type="text" class="{validate:{required:true,minlength:3}}" /></div>
<div><label for="tel"><span class="field-name">Numéro de téléphone</span> (999-999-9999) <strong>(obligatoire)</strong></label><input id="tel" name="tel" type="tel" class="{validate:{required:true,phoneUS:true}}" /></div>
<div><label for="email1"><span class="field-name">Adresse électronique</span></label><input id="email1" name="email1" type="email" class="{validate:{email:true}}" /></div>
<div><label for="url1"><span class="field-name">URL du site Web</span></label><input id="url1" name="url1" type="url" /></div>
<div><label for="url1"><span class="field-name">URL du site Web (p.ex., http://www.url.com)</span></label><input id="url1" name="url1" type="url" /></div>
</fieldset>

<fieldset><legend>Autres exemples</legend>
Expand Down

0 comments on commit 54d6558

Please sign in to comment.