One form, two submit buttons with no defalt
A simlpe from mostly,
I want to have two submit buttons in this form. The problem is the frist button is the defalt one, so if the user types something the textfeild and hits Enter the form will submit to(in this case) the zip_code button.
<form action="do_someing.php" method="POST">
<label>Search by Zip code or Name</label>
<input name="textfield" type="text" size="50" maxlength="50" />
<input type="submit" name="zip_code" value="Zip code" />
<input type="submit" name="name" value="Name" />
How can I take the defalt button and not have it defalt so the user must click name or zip code to submit the form.