RE: Validation and Reset

2003-03-22 Thread Tai Nguyen
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

RE: Validation and Reset

2003-03-21 Thread Ady Das O'Toole
You could remove the validate call in your form and call the form's validate method in your Action depending on whether it was a submit or reset. //validate form ActionErrors errors = new ActionErrors(); errors = yourForm.validate(mapping, request); //put the errors object in request saveErrors(