[ https://issues.apache.org/struts/browse/WW-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42170 ]
Florent Ramière commented on WW-2168: ------------------------------------- clearErrorMessages and clearErrorLabels methods should be called upon reset action A solution would be in src/main/webapp/template/simple/form.ftl onreset="${parameters.onreset?default('clearErrorMessages(this);clearErrorLabels(this);')" > Javascript validation displays error messages, cancel does not clear them > ------------------------------------------------------------------------- > > Key: WW-2168 > URL: https://issues.apache.org/struts/browse/WW-2168 > Project: Struts 2 > Issue Type: Bug > Components: Views > Affects Versions: 2.0.9 > Reporter: Florent Ramière > > 1- form validate=true > 2- fill form with invalid data > 3- click submit > 4- errors are displayed > 5- click cancel > 6- error are not cleared -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.