Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JonathanHolvey opened this issue Aug 23, 2018 · 0 comments

Comments

@JonathanHolvey
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant