You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Ayad <ma...@javamark.com> on 2002/11/11 20:11:13 UTC
reset form link
I'm using the following to call the edit action that pre-populates a form.
<html:link page="/edit.do"><html:reset styleClass="fieldlabel" value="reset"/></html:link>
However once the form is submitted (with errors) the above link does nothing. If I replace <html:reset styleClass="fieldlabel" value="reset"/> with the word reset, everything works fine.
In all cases I would like the reset to reset the form back to its pre-populated state.
Mark