This question has been asked many times here on StackOverflow, but I don't see anything that addresses my need. I want to drive the client side, i.e. jQuery, validation to be conditional by using a server side data annotation.
That is, I am trying to build a generic drop down model where if the user chooses 'Other' from a DropDownList, a coupled text field called Other
is then mandatory. How can I do this using an attribute on the dropdown model property?