Jeremy,

This is because your image button is a submit button, regardless of what the
text on it may say.  The link you provided didn't say anything about reset
methodology so I'm not sure what you are referring to there, but the easiest
way to avoid triggering the validate method is to not submit the form!  For
example, make the button a simple image (instead of an input image button),
and reset the form with a javascript onclick event (e.g.
document.myform.reset();)

Tai

-----Original Message-----
From: Weber, Jeremy [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 9:27 AM
To: 'Struts Users Mailing List' (E-mail)
Subject: Validation and Reset


Hello all!

It seems when I click my reset button my form is validated.  Is there anyway
to keep this from happening?
I am using <html:image> and the reset methodology here
http://www.husted.com/struts/tips/001.html


Jeremy Weber                    
Eventra, Inc.                       
Sr. SCM Specialist
203-882-9988 x2631
[EMAIL PROTECTED]

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

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

Reply via email to