You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Todor Sergueev Petkov <t....@basalmed.uio.no> on 2003/07/30 17:36:50 UTC
Validating fields only in some situations question....
Hello, I have a question :
I am using Validator framework with Struts. I have a login form on my
web page which is associated
with 3 buttons - Login, to log the user in
Reset , to reset the form fields
Register, which brings the user to a new registration page
I use only one Action of the type DispatchAction which determines what
exactly to do.
My question is : how can I tell the Validator framework to perform
validation only when the user presses the Login button
and to ignore the vallidation when the users presses any of the two
other buttons ?
Thanks,
Todor
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org