AW: [thelist] Form input type RESET not working
Eike Pierstorff
eike.pierstorff at dynamique.de
Sat Sep 7 08:10:01 CDT 2002
> For some reason, the following basic command is not working in my form:
> <input type="reset" value="Clear answers">.
>
> I've tested it in NN4.7, IE5.5 and N6.2 and it isn't working
> altho it works in other forms I've done.
>
> Any clues? I was thinking I might have to write an onClick event,
> but is this really necessary?
>
> url: http://www.chefsteve.com/html/ChefHACCPQuiz.html.
>
There are eleven <form>-tags in the source code. There should be just one.
And every group of radio buttons should have it's own name (I guess).
Instead of:
<form><tr><td><strong>8. To effectively .....</strong><br>
<input type="radio" name="q1" value="0">10 seconds<br>
......
</td></tr></form>
<form><tr><td><strong>9. Foodborne Illness means:</strong><br>
<input type="radio" name="q1" value="0">transmuted through food<br>
....
</td></tr></form>
.....
<form method="POST" action="ChefHACCPQuiz.html"><input type="reset"
value="Clear answers"></form></table></div>
it should be something like:
<form method="POST" action="ChefHACCPQuiz.html">
<tr><td><strong>8. To effectively .....</strong><br>
<input type="radio" name="q1" value="0">10 seconds<br>
......
</td></tr>
<tr><td><strong>9. Foodborne Illness means:</strong><br>
<input type="radio" name="q2" value="0">transmuted through food<br>
....
</td></tr></form>
.....
<input type="reset" value="Clear answers"></form></table></div>
-- eike
More information about the thelist
mailing list