Hey,
I’m using Airtable and have users submit forms daily.
A problem I had was that after they submitted, the data didn’t show directly on the page they were on - resulting in them submitting several forms.
I found this code snippet which refreshes the page after each submission. It works great and I can see all new data instantly.
Perhaps that’d work?
See here: Refresh Page after form submission
My code:
<script>
window.addEventListener('submit-form-success-form3', () => {
setTimeout(() => {
window.location.reload()
}, 1000);
});
</script>
<script>
window.addEventListener('submit-form-success-BLOCK_ID', () => {
setTimeout(() => {
window.location.reload()
}, 1000);
});
</script>