Lasse is right but check your validator-rules.xml and make sure it includes the email validator definition which should include the "validateEmail" JS function. If so, you should be all set.
charu latha
Ranch Hand
Joined: Aug 20, 2002
Posts: 67
posted
0
Ok i checked my validator rules and it has the function but for some reason my email never gets checked. any ideas?
Prasanna Puttappa
Ranch Hand
Joined: Jul 21, 2003
Posts: 54
posted
0
1. Is your form bean extending org.apache.struts.validator.ValidatorForm ? 2. Is property name same in your xml file and formbean class ??
- Prasanna
~Prasanna (SCJP5.0, SCWCD5)
charu latha
Ranch Hand
Joined: Aug 20, 2002
Posts: 67
posted
0
hi,
thanks for your post. nope my bean extends actionform and not validatorform.