Embed Marketo Form inside Wordpress: Show Thank You Message Without a Follow-Up Landing Page
I recently embeded a Marketo contact us form into our new WordPress site using the native code inside deign studio. I'm trying to make the form submission resolve to a thank you message inside the content block that holds my embeded form code below. How would I accomplish this?
<script src="//pages.umt360.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_18"></form>
<script>MktoForms2.loadForm("//pages.umt360.com", "733-BGB-566", 18);</script>
We previously hosted the form inside an iframe using the following LP's:
pages.umt360.com/ContactUs.html
pages.umt360.com/Website_ContactUs_TY.html
I found a couple of articles and discussions but they aren't detailed enough for me to understand where I place the code or where exactly I readjust it inside the code before pasting it into an HTML block on WordPress.
Here are two older discussions I found on the topic.
https://nation.marketo.com/t5/product-discussions/convert-form-embed-script-to-iframe/td-p/169130
https://developers.marketo.com/blog/show-thank-you-message-without-a-follow-up-landing-page/