Skip to content

Form submission event triggers #43972

@massic80

Description

@massic80

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit_event

What specific section or headline is this issue about?

Intro

What information was incorrect, unhelpful, or incomplete?

This section

The submit event fires when:

Doesn't give a complete overview.

What did you expect to see?

As far as I know, point 2 is correct when

  1. user presses Enter and there is a single field (with or without a button[type=submit])
  2. uses presser Enter and there are more than a field, but there is also a button[type=submit]

Do you have any supporting links, references, or citations?

It's field-tested, I don't know whether it's documented behavior or or just common practice.
Either way, I'd pinpoint it.

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:GlossaryGlossary entriesContent:HTMLHypertext Markup Language docsContent:WebAPIWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions