On a HTML page I have an inputbox that has a \'watermark\' on it when it is empty. (eg: \"enter text here...\"). Kind of like this: http://digitalbush.com/projects/watermark
Thanks to Kazar for providing me with the link, I came up with the following solution (if anyone is interested):
function notWatermark(value, element){
return value != 'enter text...';
}
$.validator.addMethod("notWatermark", notWatermark, "Field cannot be empty.");
$('#SearchForm').validate({
rules: {
SomeField: {
required: true,
notWatermark: true
}
},