Hello,
mvc 2 comes wit built-in support of Model validation but how do i do "input validation". for example i have an interface of creating memo where i have populated the view with dynamic checkboxes corresponding to employees. The validation is straight forward i.e do not submit if no checkbox is selected. i wonder if there is a way of doing such things in DataAnnotations. i have searched the internet and found that people have written hell a lot of code to validate password and confirm password validation just for the sake of doing it the nicer way. My question is if there is a nicer way for my problem or should i just count number of checkboxes in my controller action and return error if no checkbox is selected
regards
adeel