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.
精彩评论