Error: $.validator.methods[method] is undefined

I was getting this error when using jQuery validator, found the reason for this error was because I didn’t define the custom validator methods which I had assigned in the validation rules. More about jQuery custom validation method here - http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage