I have created the file jquery.validateCopy.js and added with: <script src="jquery-1.3.2.js" type="text/javascript"></script> <script src="jquery.validate.js" type="text/javascript"></script> <script src="jquery.validateCopia.js" type="text/javascript"></script>
in my HEAD section. Than I write: jQuery.validator.addMethod("GetValue", function() { return true; }, jQuery.format("Please enter the correct value")); in it. Then I modify it with: city: { required: GetValue() }, but does not compile. What's wrong? Luis