+ Start a Discussion
SushiSushi 

Clearing of Struts forms on reset

Hi,

can anybody help me with struts forms reset button. I wants all the fields to be cleared on pressing reset.


What i do is i fill up the form submit it if it has errors it shows me the html errors now i click on the reset button but the form fields values are not cleared i even wrote a javascript to clear them up but it was of no help.Please tell if anybody has some suggestions regarding it.


Thanks and regards,

Sushi
Tran ManTran Man
Implement a reset method for your form. See
DynaValidatorForm

Message Edited by Tran Man on 03-02-2006 12:02 PM