문제

In my MVC application, I've got a page where I use a few hidden fields to make some calculations 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top