Hi Sanford,
Thanks again for looking at this. I was reviewing your other thread regarding this issue. As I'm not a developer it was a bit confusing, but I think I may have worked it out. We've updated the form based on your input. I do feel a bit more optimistic now. Can you please give me your thoughts? Same URL as above.
Thanks,
Tucker
<script src="
<form id="mktoForm_2144"></form>
<script>MktoForms2.loadForm("
form.onSubmit(function(values, followUpUrl) {
window.open(
'https://app.salsify.com/catalogs/762cc756-2d61-48c5-8f83-f5344abcfcd8/products?filter=%3D&page=1',
'_blank'
);
form.onSuccess(function(vals,followUpURL) {thankyouWindow.document.location = 'https://kerry.com/products/pharma-and-biotechnology' ;
})
return false;
});
});</script>
More like
<script src="//app-ab33.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_2144"></form>
<script>
MktoForms2.loadForm("
var thankyouWindow;
form.onSubmit(function(form) {
thankyouWindow = window.open("","_blank");
});
form.onSuccess(function(vals,followUpURL) {
thankyouWindow.document.location = "https://app.salsify.com/catalogs/762cc756-2d61-48c5-8f83-f5344abcfcd8/products?filter=%3D&page=1" ;
return false;
});
});
</script>