I have a form that I created:
<form class="myform" action="cgi.pl">
<select name="export" onchange='this.form.submit()'>
<option value="" selected="selected">Choose an export format</option>
<option value="html">HTML</option>
<option value="csv">CSV</option>
</select>
</form>
Now this form works great if I pulled out and selected "HTML" or "CSV". But if I click the "Back" button and select "Choose Export Format", the form will be sent, although I do not want it to be.
Is there any way to prevent form submission for this parameter?
source
share