Hi folks,
We're wanting to enforce some global rules for string inputs (basically a regex match to prevent malicious input), and then allow the validators to override it on specific fields if needed. What's the best way to approach this? I've looked at
Thanks
J
We're wanting to enforce some global rules for string inputs (basically a regex match to prevent malicious input), and then allow the validators to override it on specific fields if needed. What's the best way to approach this? I've looked at
- PropertyValidator, but you have to call SetValidator on each field
-
AbstractValidator<string>, but this doesn't seem to get picked up and run
Thanks
J