Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Ah, thank you! I updated this one line:formEl.innerHTML = "
Thanks! I really appreciate you taking the time. Unfortunately, I can't get your code to work. When I hit 'submit,' I get redirected back to the blank form without a download or confirmation message. I created two identical landing pages for you to see. The only difference is the two sets of JS: one...
Thanks for your quick reply! Here you go:MktoForms2.whenReady(function(form) { var formEl = form.getFormElem()[0], thankYouWindow; form.onSubmit(function(form) { thankYouWindow = window.open(''); }); form.onSuccess(function(vals, thankYouURL) { thankYouWindow.document.location = '{{my...
Hello,I've been asked to figure out how to trigger the download of a file upon clicking the submit button of a form while also displaying a thank you message ... all without opening a new tab. I've read through a number of posts asking for similar help but I'm still at a loss. (I don't even know if ...