Hi All,
I am trying to get this to work with no luck here is my code can someone help me out?
<div id="mktForm" class="mktEditable">
<script src="//app-ab01.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1842"></form>
<script>MktoForms2.loadForm("//app-ab01.marketo.com", "320-KOG-016", 1842);</script>
<script type="text/javascript">
$jQ('#mktFrmSubmit').click(function() {
var mktErrorMsgContent = $jQ('.mktFormMsg').html();
if (mktErrorMsgContent != 'This field is required') {
window.open('http://xxx.xxx/xxx.pdf'); //<-- Change this to your url
}
});
</script>
</div>
Thanks!
Eric