/formValidation.html Secret
Last active
August 29, 2015 14:04
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<form id="exampleForm" action="" autocomplete="on"> | |
First name: | |
<input type="text" name="fname" required | |
data-rule-palindrome="true" | |
data-msg-palindrome="Please introduce a palindrome"><br> | |
Last name: | |
<input type="text" name="lname" required><br> | |
<input type="submit"> | |
</form> | |
<script | |
src="http://code.jquery.com/jquery-1.11.1.min.js"> | |
</script> | |
<script | |
src="http://jqueryvalidation.org/files/dist/jquery.validate.min.js"> | |
</script> | |
<script | |
src="validation.js"> | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment