Help

Re: Display success message after HTML form submitted

1919 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Ludo_Figueiredo
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello,

I am coding a specific HTML form with google script and airtable. I am using the webhook automation with my HTML form (using action=" URL of my airtable webhook ").

 

 

<form class="form_style" id="subscription_form" action="https://hooks.airtable.com/workflows/v1/genericWebhook/app5FlLF4JRKgnLGQ/wfle1FROme98xqd3d/wtr9QlkcULz" method="POST">

 

 

All work fine but I am always redirected to the airtable success message. 

Ludo_Figueiredo_1-1672660877540.png

I tried to use AJAX with google script and Airtable but had no success (I saw that CORS is a problem with webhook automation). I want to stay on the page and display a success message (form submitted on the same page). Could it be possible and could you help me, please? 

Ludo_Figueiredo_0-1672661665559.png

Best regards

3 Replies 3
Jon_Techilovsky
6 - Interface Innovator
6 - Interface Innovator

I have the same issue, not found a solution yet 😕

Hello, I use :

formulaire.addEventListener('submit', function(event) {
         event.preventDefault();
      });

to avoid the page to be redirected. 

CristianCG
7 - App Architect
7 - App Architect

Hi there!

At miniExtensions, we've created a third-party form that integrates seamlessly with Airtable and offers several options for configuring a success message and more.

You can easily adjust the form’s submission behavior in its settings to show a success message, redirect directly to a static URL or a dynamic URL based on an Airtable field, display the success message and then redirect, or show the message and close the form.

CristianCG_2-1731020958801.png

Additionally, you can trigger a webhook after saving if you’d like to integrate it further with other workflows.