Skip to content

FormData & submitter[formaction] #381

Open
@Lcfvs

Description

@Lcfvs

Hi,

Is it possible to improve the behavior spec about the new FormData(form, submitter), to simply support something like this, please?

Using a submitter like:

<button formaction="..." formenctype="multipart/form-data" formmethod="post" type="submit" name="name" value="value">text</button>
new FormData(undefined, submitter) // actually, FormData (0)

Imho, if the button is a standalone submitter, there is no reason to be owned by a form to use it as a FormData submitter.

Any thoughts about that idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    addition/proposalNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions