Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df7df66
commit c1d9702
Showing
5 changed files
with
120 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>jCheck</title> | ||
<link rel="stylesheet" type="text/css" href="../css/jcheck.css" /> | ||
<script type="text/javascript" src="../vendor/jquery.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.core-extensions.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.form.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.errors.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.notifiers.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.validations.js"></script> | ||
<script type="text/javascript" src="../lib/jcheck.i18n.js"></script> | ||
<script type="text/javascript" src="../lib/locales/jcheck.en.js"></script> | ||
</head> | ||
<body> | ||
<h2>Post your comment</h2> | ||
<form action="" method="post" class="simple_form comment" data-jcheck="true"> | ||
<div class="input string required"> | ||
<label class="string required" for="comment_username">Your name</label> | ||
<input class="string required" id="comment_username" maxlength="255" name="comment[username]" size="50" type="text" data-validations="presence: true" /> | ||
</div> | ||
<button type="submit">Send</button> | ||
</form> | ||
</body> | ||
</html> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<form action="" method=""> | ||
<div> | ||
<label for="text">TextField</label> | ||
<input type="text" name="text" id="text" data-validations="presence: true" /> | ||
</div> | ||
<div> | ||
<label for="email">Email</label> | ||
<input type="text" name="email" id="email" data-validations="presence: true, format: {'with': 'email'}" /> | ||
</div> | ||
<div> | ||
<button type="submit">Send</button> | ||
</div> | ||
</form> |
This file contains 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
This file contains 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