I know that including`<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js"></script>` will do the trick, but I'm not able to find out anywhere that how it can be done after downloading the file `jquery.validate.js` and paste it in local directory.

I tried it by pasting `jquery.validate.js` file in the same directory as the validation file and using : `<script src="jquery.validate.js"></script>`, but it didn't work.

The validation code is in register.phtml file and the **script** portion of it is:

```js
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js"></script>
<script>
    $(document).ready(function () {
        // validate signup form on keyup and submit
        $("#registerForm").validate({
            rules: {
                first_name: "required",
                last_name: "required",
                contact_no: {
                    required: true,
                    digits: true,
                    minlength: 10,
                    maxlength: 13,
                },
                email: {
                    required: true,
                    email: true,
                },
                invitation_code: {
                    required: true,
                },
            },
            messages: {
                first_name: "Please enter your First Name",
                last_name: "Please enter your Last Name",
                contact_no: {
                    required: "Please enter your Contact Number",
                    digits: "Please enter only digits(0-9)",
                    minlength: "Minimum 10 digits are required",
                    maxlength: "Maximum 13 digits are allowed",
                },
                email: {
                    required: "Please enter a valid Email address",
                    email: "Your email address must be in the format of name@domain",
                },
                invitation_code: {
                    required: "Please check your email for Invitation Code",
                },

            }
        });
        $("#email").keypress(function () {
            $('.error_msg1').hide();
        });
        $('#invitationCode').click(function () {
            document.getElementById('invitation').innerHTML = "";
        });
        $("#first_name").on('keyup', function(e) {
                var val = $(this).val();
                if (val.match(/[^a-zA-Z]/g)) {
                  $(this).val(val.replace(/[^a-zA-Z]/g, ''));
                }
        });
        $("#last_name").on('keyup', function(e) {
                var val = $(this).val();
                if (val.match(/[^a-zA-Z]/g)) {
                  $(this).val(val.replace(/[^a-zA-Z]/g, ''));
                }
        });

        $('#submitform').click(function () {
        if (!$('#Check_TermsAndCondidation').prop('checked'))
            {
                $('#Check_TermsAndCondidation_msg').html('Please check Terms and Conditions');
                return false;
            }
        });

        $('#Check_TermsAndCondidation').change( function(){
            $('#Check_TermsAndCondidation_msg').html('');
        });
    });
</script>
```

The above snippet is validating properly but after editing the first line of above code to :
`<script src="jquery.validate.js"></script>` , it doesn't work.