Actually, only the first one is a real submit button, the second one is a hidden form field, that is submitted together with the others, without the user knowing it.
I don’t understand how this hidden field could make the form more fail-proof, because even if the user presses Enter the form would behave in the same way as if the user had clicked on the submit button.
Correct, some version of IE didn’t send the submit button in the POST array if the user hit enter. Using the hidden field was a more reliable method as it would always be sent.
Probably because the page has no DTD, thus IE is in quirks mode. Try in standard mode. At least for IE9 it works, if you have standard mode.
EDIT: Yeah, they didn’t fix it in IE8. It appears they did so in IE9. You can clearly see in IE9 (standard mode) how the dotted focus appears on the submit button when hitting ENTER in the field, and the [Submit] => Submit is also sent.
Originally Posted by spikeZ View Post
Correct, some version of IE didn’t send the submit button in the POST array if the user hit enter. Using the hidden field was a more reliable method as it would always be sent.