I have a form that requires six images to be uploaded. When the user clicks the Submit button, it looks like nothing is happening, and can take upwards of 30 seconds.
How can I add some kind of loading spinner while this is happening, that will eventually transition to my “Successful” lightbox?
Go to loading.io
Download a loader GIF file
Add the GIF to the page and set it to ‘Hidden on load’
After the user clicks on submit, hide the submit button and show the GIF
Redirect to the Lightbox on success