Skip to content

Disable Webform Submit Button on Form Submit #877

@kevincrafts

Description

@kevincrafts

We're seeing a rise in tickets where a web form is getting multiple submissions all at once, possibly by the user clicking the submit button multiple times. To prevent this from happening, we can disable the submit button when the form has been submitted, preventing multiple clicks if there is any sort of delay.

This action should be taken with the form submit handler vs onclick because it will allow validation to process which would happen before form submit, vs afterwards of a onclick which would then make it impossible to submit the form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions