The following script using the jQuery validation plugin - http://docs.jquery.com/Plugins/Validation - prevents you from submitting the form located here:
http://www.bestcastleintown.co.uk/book2.php
Please fill out the form and make sure that the verification messages disappear, then try clicking send, this does not seem to send, and I do not understand why.
When you remove this script, the contact form will work correctly and allow submission. So I think this is causing the problem. Any help or suggestions would be greatly appreciated.
<script type="text/javascript"> jQuery.validator.setDefaults({ debug: true, success: "valid" });; </script> <script> $(document).ready(function() { $("#aform").validate({ rules: { postcode: {required: true,minlength: 6}, phone: {required: true,number: true} } }); }); </script>
source share