By default, the plugin will show a spinning loader image when a form is processed. However, you can choose to set a custom button text instead.
By setting a custom loading text, this text will be shown on the submit button after submitting a form. After the form is processed, the button text will revert to its initial value.
To set a loading text, add a data-loading-text
attribute to the HTML of your submit button.
<input type="submit" value="Subscribe" data-loading-text="Subscribing..">
If the plugin encounters the usage of the data-loading-text
attribute, it will automatically kick in and work its magic once a form is submitted.