Pete Wilson : Consultant Software Engineer
Lowell MA 978.454.4547 pete at pwilson dot net April 2008
We can give the user several submit buttons in a single form. But every reset button in the form clears every text-input control.
What if we don't like this risky feature? What if we want each of several reset buttons, say, to refer to just one input field?
Here's one workaround that seems to work in some browsers, though it doesn't validate. We'll place forms within a form, each inner form having one text-input control and one reset button (and perhaps also its own submit button/buttons). Maybe something like this: