Asp.Net MVC validation messages overriding client side validations <p>In my Asp.Net Mvc application I have a scenario where I have to </p> <ol> <li>Check if control value is not null</li> <li>value entered in control is not "Search"</li> </ol> <p>How can I achieve this with validation attributes?</p> <p>I tried [Required] attribute on top of modal property and wrote a client side validation for "search". But error message shown by [required] attribute is overriding client side validation. any help? </p>