Hi All..
I have an issue with the implementation of VAB. We are using ASP.NET MVC 1.0
I have a property "First Name" and we want to have 2 validations.
- Not Null Validator
- RegEx Validator (to stop some characters)
Now if I leave it blank then it gives me the error message from both the validator. If the First name is blank I only want Not Null to show the error details If the First name is not blank then i was the RegEx to get executed and if there are any invalid characters then i want to stop them.
Please guide me here
Thanks !