Chamara Gunaratne wrote:
Dave:
Thank you for your reply. I changed type attribute to "requiredstring". But
it doesn't help with the short-circuit problem.
Yes, both the first name and last name validators fire successfully and the
regex is correctly evaluated. Just the short-circuit part is not working.
For example, if I submit a blank first name field, I get both error
messages: "Please enter your first name" and "First Name may only contain
letters, spaces, dashes, or periods".
Cheers,

AFAICT from the Validation documentation, it should be working as you expect. I would suggest turning logging up to DEBUG for Struts and/or XWork (probably XWork?) and see if you get anything that sheds light on what's going wrong.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to