I am searching to integrate custom html form with marketo form and found the link -> https://www.websightdesigns.com/creating-custom-marketo-forms
I have implemented this and When I try to add a thank you message on the same page after submitting the form , the message is showing but the page gets reloaded and the message disappeared. I have tried to put e.preventDefault(); but it was not working (I showed the thank you message by using div element and initially this was hidden).
But this was correctly working when we use the Marketo embed form itself (I have followed the http://developers.marketo.com/blog/show-thank-you-message-without-a-follow-up-landing-page/ )
Anyone knows about this ?