Symptoms
Your forms take a few seconds to process after clicking submit, and you want to make it more apparent, instead of just depending on the little AJAX spinner, that the submission is processing.
What if your button text could automatically change from “Submit” to “Sending, please wait…”, or something like that?
How To Fix It
Using the code snippet below, you can programmatically configure the submit button text to change after the button has been clicked.
You can add this code to your themes functions.php file or use a functionality plugin like WPCodeBox.
Additional Tips
You do not need to disable the button! In Gravity Forms 2.5 the submission handler includes protection against multiple clicks submitting the form multiple times. When the submit button is clicked that sets a block to prevent further clicks submitting the form again.
If your form submissions are slow, that is an issue that is not usually caused by Gravity Forms. Even if you have 1000 form fields and 50% of them use conditional logic, that’s just a bad idea, all browsers will struggle to load that form.
Need More Help?
If you still need help, feel free to use the comments or chat options below.
If you have an active Gravity Forms license, you can also open a support ticket here.