The verify.js documentation website (http://verifyjs.com/) makes it seem that, in order to get form validation on your site, all you have to do is:
- Link to the github-hosted library
<!-- Verify.js (with Notify.js included) -->
<script src="//raw.github.com/jpillora/verifyjs/gh-pages/dist/verify.notify.min.js"></script>
Make sure you have jQuery linked (of course!)
Add validation rules, by putting data-validate="____" in form fields
However, I have done those 3 steps, yet the email I am trying to validate, at www.texasca.com/quote.php doesn't validate. As in, you can enter in an invalid email and nothing happens.
Am I missing something? I can't find anything on their provided documentation that will tell me what I am doing wrong.
My code relative to the problem is below.
Form field with the validation:
<p class="regular-content option-label">Email Address</p>
<input class="quote-option" type="text" name="EmailAddress" data-validate="email" id="EmailAddress" required >
Including necessary Javascript:
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- Verify.js (with Notify.js included) -->
<script src="//raw.github.com/jpillora/verifyjs/gh-pages/dist/verify.notify.min.js"></script>
Thanks in advance!