I added the tag <html:reset /> to a page and I see the button, but when I have the page loaded in a browser, the button does nothing. Am I supposed to supply code to clear out the other elements of the form?
reset buttons do not clear values, they reset values to the defaults (the values the page loaded with). The only times it should clear all values is when the page loads with nothing in the fields.
A good workman is known by his tools.
Joined: Nov 03, 2004
Hrmmm.... Well, the page initially loads with no values in the two edit controls and the reset does not do anything. You mention that reset sets the controls to a default state. How does one set the default values? I tried to create a constructor for the form and put blank strings in the two edit controls but that didn't work either.