Tried javascript and it works fine. The reasons I try not to use javascript :
1. since struts is used, i thought all control should be visible in the controller and not as javascripts in the JSP. 2. User might turn off javascript. sebastian ho On Tue, 2004-08-17 at 15:57, Aru wrote: > Sebestian, > Where does control go when u click Back button? If this has to do 'browser > like' back action, just call javascript. Why do u call struts action? Any > specific reason? > > > > -----Original Message----- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 17, 2004 3:44 PM > To: Struts Users Mailing List > Subject: Disable validate in actionForm > > hi > > I have an validate method in my actionform and everything works fine. I > added a 'Back' button in my webpage, and therefore validation is not > necessary if the 'Back' button is clicked. Validation should occurs only > if 'Next' is selected. > > How do I stop struts from calling validate() is 'Back' is selected? > > Note : Both buttons are in the same form. > > Thanks > > Sebastian > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]