I have a simple vote form with a counter that updates based on form submissions. I use Zapier to add the form submission result to a google sheet, and then update the Webflow CMS based on the new cumulative vote count in Google Sheets. This updates the counter on the frontend to the user.
The issue I am having is that upon submitting the form, the user is immediately redirected to the same page before the zaps have time to run and update Google Sheets & the Webflow CMS. Ideally, I’d like to insert a loading icon until the process is done. Next most ideal would be displaying the loading icon for some fixed amount of time (e.g. 5 seconds), by which time the process should be done.
Any ideas?