开发者

Disabling xVal for Hidden Fields

In my MVC application, I've got a page where I use a few hidden fields to make some calculatio开发者_如何学Pythonns under the hood. This page is loaded with xVal validations to make the data coherent. But the problem is that the xVal is also validating the hidden fields which are only used at the page itself. Is there any way of disabling xVal for hidden fields?


One way is to disable the fields, jquery validation will then ignore them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜