Dear all,
On the following page: https://www.hellotalent.com/request-free-demo/ the form submit event does not always work. What is weird is that intensive test shows it works about 50% of the times.
We have inserted a slightly modified forms code to be able to better track what is happening and the form.onSuccess event is never called. In fact, when the form fails, the lead is not inserted, leading to think that the save2 endpoint is not called. The console shows no error related to the forms2 API nor the save2 endpoint.
Any idea ?
-Greg
It's because you have other code (loaded via GTM) that's attempting to "decorate" the form and has a race condition that causes the native submit event to abort.
When using Marketo forms, make sure that all decoration/enrichment/pixels work within the Marketo API event model, not outside it.
Hi Sandy,
Thx a lot !!
Web agencies in action
-Greg
BTW, how do I mark an answer as correct in the new community ???
Should show as an option in the top right-hand corner of the comment - see example below