itnifl
asked on
Making exceptions for ValidationAttribute
So I have made a custom validation attribute for a property in my C# MVC view model, and it works as expected on the server side. But now I want the user to be able to cancel the validation by selecting a checkbox that says; skip verification, and then let the whole system store the value in the property anyway. But only for that specific selected property, all other properties should be validated as normal.
Any good suggestions and examples on how to do this?
Any good suggestions and examples on how to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER