title: Hitting "enter" from an input (text) field when a form has a "submit" input
body: <p>I'm trying to figure out something having to do with the behavior descibed by <a href="https://stackoverflow.com/questions/1370021">this old question from last year</a>. I've got a form with a single input text field, and a single "submit" button. Unlike the person who asked that question, I <em>want</em> the form to submit when the user hits "enter". Indeed, that's working for me; what's not working however is the quirk that causes a "submit" input in the form to be virtually clicked: Firefox and Chrome include the "submit" input's name in the parameters posted, while IE does not. In other words, I want this quirky submit behavior to post the text input field, and the submit input too.</p>
  
  <p>The funny thing is that my form was doing just that up until some mystery change I introduced recently. (Firefox and Chrome do still work, but IE once worked and now doesn't.) I can probably figure out what I changed to break it, but as @bobince seemed to understand something about this quirk I figured I'd ask to see if there are known (possibly even documented) ways to control it.</p>
  
  <p>Here's my test page: <a href="http://gutfullofbeer.net/post.html" rel="nofollow noreferrer">http://gutfullofbeer.net/post.html</a></p>
  
  <p>It's about as simple a test as I could make up:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;body&gt;
      &lt;form name='foo' action='cgi/echoparams.cgi' method='post'&gt;
        &lt;input type='text' name='name' value=''&gt;
        &lt;input type='submit' name='submit_button' value='Submit'&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The cgi script just parrots back the posted content.</p>