http://struts.apache.org/userGuide/dev_validator.html
See the section on pluggable validators. I don't think the type of Form you use matters, but I don't use Dyna forms.
Erik
Scott Purcell wrote:
Hello,
I have a simple validation problem I am seeking help with. I have a form in which the end-user enters a "password" and a "confirm password". I am using the validator framework (I am pretty new, but getting there) and want to know how to check this type of problem. Ensuring that the same string is in both fields. Does anyone have any experience with this? I am also using the org.apache.struts.validator.DynaValidatorForm, so I do not have a physical bean associated with this. Just dynamic content from the validation.xml.
Also, if someone knows the above, how about a checkbox? Can I check for the presence or absence of this?
Any input would be helpful.
Sincerely Scott
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]