Ah, thank you! I updated this one line:
formEl.innerHTML = "<div style='width:280px;'>{{my.Confirmation}}</div>";
to this:
formEl.innerHTML = '<div style="width:280px;">{{my.Confi...
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 co...
Thanks for your quick reply! Here you go:
MktoForms2.whenReady(function(form) {
var formEl = form.getFormElem()[0],
thankYouWindow;
form.onSubmit(function(form) {
tha...
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 openi...