When selecting the AJAX option for submitting your form via Gravity Forms, Gravity Forms automatically outputs a default AJAX spinner icon while the form is being submitted.
If you want to change the default Gravity Forms AJAX spinner, Gravity Forms provides us with a filter to do so:
gform_ajax_spinner_url. Paste the following code into your theme’s
functions.php file (sans the opening PHP tag):
The icon should be 16×16. In this example, I am referencing the image from my current theme’s images directory. Make sure you update the path to reference your image location if it differs from what I have shown.
Need some help creating a different spinner? I recommend checking out this website – they have lots of options for creating a custom spinner of almost any kind!