as of right now I am validating checkbox list in the model by overriding the IsValid function so it will get validated on the server-side, but I was wondering if there's a way to add validation on the client-side. Thank you.
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
|
You can use jquery validate unobtrusive script. For this you would require to put DataAnnotation attributes to your model class something like following
And include the following scripts in your view
|
|||