I\'ve create a custom data annotation to do some validation on my view model. The problem is that it doesn\'t validate on the client-side. Here\'s my model:
A Remote Validator is what you need here is the link http://www.devtrends.co.uk/blog/the-complete-guide-to-validation-in-asp.net-mvc-3-part-1