Spinner in a button

Hi, can a spinner be applied to a non-submit button? Many buttons where a spinner would be useful are not necessarily submit.

I have tried but the spinner is constantly on (at least in my experiments).

It would be good to spin only after the button is clicked, and to last for a maximum amount of time that can be set (in my case I would probably choose about 2 seconds depending onteh tasks that the button is executing).

Is something like this possible?

Hi Bruce,

You should be able to do that using a page flow and the On Click Dynamic Event.

I’m on my phone at the moment so can’t provide any details but I don’t see why a Flow wouldn’t work.

Flow steps:

  • Show spinner
  • Wait 2 seconds
  • Hide spinner.

Hope that helps a little.

If you look at the code view, spinner is just a span.
You can copy the code and place it anywhere you like on the page.