I am using strut validator and set the fields in the form is required. When the user clicks the submit button with empty fields, the javascript will block the submit. However, when the user click the Cancel button, the javascript also block the submit !
So, how to make the validator to function only for the submit button ?
Ar you using the <html:reset> tag for the cancel button? Struts should handle the disabling of javascript validation if you use this tag. [ July 13, 2005: Message edited by: Merrill Higginson ]