Skip to content

How can I change the appearance of the form while it is being submitted #258

@JonathanHolvey

Description

@JonathanHolvey

When submitting my form, I'd like to be able to add a 'working' indicator, and maybe disable the submit button so that the user knows the form is being submitted.

I had expected BoltForms to add a class to the <form> or submit <button> elements, which could be targeted with CSS, but nothing actually happens until the AJAX request is completed, or the page is redirected.

I've looked at the htmlPreSubmit and htmlPostSubmit options, but these only add static HTML on the page with and without the form respectively.

Is there currently any way to achieve this?

I'm using BoltForms 4.2.3 and Bolt 3.5.

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