Hi there,
I am trying to get my Marketo form to open the file download in a new tab when a user submits the form. I've gone through countless of these posts with solutions, but they're all either outdated or in javascript, and as a beginner to coding/Marketo, I'd like to submit this post asking for help with editing the HTML code below so that it opens the file in a new tab.
Thank you in advance to anyone that helps!
<script src="//sponsors.aha.org/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_2464"></form>
<script>MktoForms2.loadForm("//sponsors.aha.org", "710-ZLL-651", 2464);</script>
Solved! Go to Solution.
I've gone through countless of these posts with solutions, but they're all either outdated or in javascript,
They’re all in JavaScript because you must use JavaScript. Even the code you posted is 2 JS blocks and one HTML <form>!
It will never get simpler than this:
I've gone through countless of these posts with solutions, but they're all either outdated or in javascript,
They’re all in JavaScript because you must use JavaScript. Even the code you posted is 2 JS blocks and one HTML <form>!
It will never get simpler than this: