求解:JQueryValidationEngine不支持双验证

来源:互联网 发布:淘宝订单物流查询 编辑:程序博客网 时间:2024/06/07 03:19
源码:


@Html.TextBox("Email", "", new { @class = "validate[required,email] input_field_01" })   (失败!)


但是支持回调验证!

 @Html.TextBox("Email", "", new { @class = "validate[required,funcCall[RegisterHelper.checkEmail]] input_field_01" })


看来只有曲线救国了!


2014-06-04解决方案:

@Html.TextBox("Email", "", new { @class = "validate[required,custom[email]] input_field_01" })


0 0
原创粉丝点击