Why does a FORM with one text INPUT submit on enter while one with two text INPUTs does not? [duplicate]

This behaviour was introduced in the HTML 2.0 specification. See the following article for more details:

Form submission and the ENTER key?

When there is only one single-line text input field in a form, the
user agent should accept Enter in that field as a request to submit
the form

Source: W3C Specs

Leave a Comment