0

I am using MicrosoftMVCJqueryValidation.js and want to Disable Client Side Validation For Disabled Input Controls.

Or is there any way to enable/disable client side validation using javascript?

Daniel
  • 21
  • 8

1 Answers1

0

You can remove the unobtrusive validation metadata when a form element is disabled and add it again if it is enabled. This question on stackoverflow would help.

Community
  • 1
  • 1
Muhammad Adeel Zahid
  • 17,474
  • 14
  • 90
  • 155