posted 10 years ago
Hello fellow programmers,
Just a very quick question for you. I'm populating a list of strings with a form submit, and would like to keep all my validation rules in xml format. Is there a standard way to validate my list of strings? I want to check each of their char length.
I would have thought this would be a common thing to do, but haven't found how to do it yet. I guess my other options would be to validate programmatically in the Action, which I don't want to do, or to write a custom validator, but would like to find out if there is a way to do what I want out of the box before I do this.
Thanks in advance for your help.
Chris