Reset Button (with confirmation) (Javascript)
:
Return to List
<input type="button" name="btnReset" value="Clear Form"
onClick="javascript:ResetTheForm(this.form)">
// Confirms a form reset -- then does so
function ResetTheForm(form)
{
if (confirm("Are you sure you wish to Clear the form?"))
{
form.reset();
}
}
Note to Webmaster