我正在使用实时验证插件,我不喜欢突然出现错误消息。我如何对文本应用慢转换?
Presence: function(value, paramsObj){
var paramsObj = paramsObj || {};
var message = paramsObj.failureMessage || "Required field.";
if(value === '' || value === null || value === undefined){
Validate.fail(message);
}
return true;
},