jzaefferer/jquery-validation — Issue #243: Garbage error message in chrome
Author: jaseemabid
Created: 2011-11-01 22:48:23+00:00
State: open

I am getting this particular error message in 'google chrome 14.0.835.202' , when its perfectly fine over Firefox version 7.0.1

plugin version : http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js
jquery : http://code.jquery.com/jquery-1.6.4.min.js

heuristic type: UNKNOWN_TYPE
server type: NO_SERVER_DATA
field signature: 2436812345
form signature: 4561052696515366935
experiment id: ""

Happens when i focus out of an error field. I am trying to validate a field with a regEx like this.

$.validator.addMethod("ROLL",function(value,element){
return this.optional(element) || /^[bmpBMP]+[01]\d[01]\d{3}[a-zA-Z][a-zA-z]/.test(value);
},"Enter a valid roll number.");

$("form.join").validate({
rules: {
roll: "ROLL"
}
});