Display success message after HTML form submitted

1566 2
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast


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="" method="POST">



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


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? 


Best regards

2 Replies 2
6 - Interface Innovator
6 - Interface Innovator

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

Hello, I use :

formulaire.addEventListener('submit', function(event) {

to avoid the page to be redirected.