Positionning Ajax spinner into submit button


i would like to integrate the ajax spinner to my submit button. To understand, i would like the spinner to replace the submit button text, just during the animation, and then come back to the initial text after animation.

Don’t know if there are any hooks to define where the ajax spinner is placed… didn’t find anything in the documentation… maybe someone already achieved this and could help ^^’

Thanks for help ^^’

There’s only one filter in Gravity Forms for the AJAX spinner:

That can be used to change the spinner to something else. I’ve not see anyone use that to replace the submit button though.

There is also a filter for the submit button:

Maybe you can come up with something using either or both of those filter?