You can extend a new rule to validate if a string length is exactly the given length value.
$.extend($.fn.validatebox.defaults.rules, {
len: {
validator: function(value, param){
return value.length == param[0];
},
message: 'The message length must be {0}'
}
})