Created
February 3, 2012 09:04
-
-
Save firatagdas/1729170 to your computer and use it in GitHub Desktop.
jQuery Tools Form Validator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="<?=$this->url(array('controller' => 'register', 'action' => 'index'))?>" id="register" name="register" > | |
<div class="formRow"> | |
<label for="username">Username</label> | |
<div class="rowEqualizer"> | |
<input type="text" name="username" id="username" class="textCtl" required="required" /> | |
</div> | |
</div> | |
<div class="formRow"> | |
<label for="password">Password</label> | |
<div class="rowEqualizer"> | |
<input type="password" name="password" id="password" class="textCtl" required="required" /> | |
</div> | |
</div> | |
.... | |
<script type="text/javascript"> | |
$('#register').validator(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment