Disabling enter key for selected submit buttons within a form
<p>i have a page that contains several submit buttons however i only want one of them to be activated by the enter key</p>

<pre><code> echo "&lt;form method=\"post\" action=\"fish.php\"&gt;\n";

 echo "&lt;tr&gt;&lt;td&gt;North Pot&lt;/td&gt;&lt;td&gt;&lt;input type=\"text\" name=\"northpot\"&gt;&lt;input type=\"submit\" name=\"north_all\" value=\"All\"&gt;&lt;/td&gt;\n";

 echo "&lt;tr&gt;&lt;td&gt;South Pot&lt;/td&gt;&lt;td&gt;&lt;input type=\"text\" name=\"southpot\"&gt;&lt;input type=\"submit\" name=\"south_all\" value=\"All\"&gt;&lt;/td&gt;\n";

  echo "&lt;tr&gt;&lt;td&gt;&lt;input type=\"submit\" name=\"submit4\" value=\"Place\"&gt;&lt;input type=\"submit\" name=\"clear\" value=\"Clear\"&gt;&lt;/td&gt;\n";
 echo "&lt;td colspan=\"2\" align=\"center\"&gt;&lt;/td&gt;&lt;/tr&gt;\n";

 echo "&lt;/form&gt;"; 
</code></pre>

<p>The button i want to be actived by the return key is <code>submit4</code> </p>

<p>i can disable the enter key for all the submit buttons but i'm struggling to do this selectively</p>
