So I have a landing page that's a rather simple form that i am embedding into an iframe within a wordpress post. it looks good.
When you hit 'submit' it triggers an automatic link to a pdf, which unfortunately opens up in the iframe. that doesn't look good.
Any advice I've tried to find on this has broken links or no info on the jquery code necessary. Any help is appreciated!
Colby
Solved! Go to Solution.
I figured it out, sort of. The key is to put this into the html window:
<base target="_blank" />
And then , boom, it's working in chrome at least. Not working reliably in IE...
based on my findings here:
https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PlLWAA0
I tried adding this in an html block on the landing page to no avail (the form utilized in this instance is 1090):
https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PlLWAA0
still no. i feel like i must be missing something simple. to recap, I have a simple landing page with just a form and a small blurb of html that holds ONLY the javascript that we are trying. those are the only two elements for the LP. it uses form 1090, but the redirect after hitting submit always comes from the form settings and is not affected by the javascript at all. i know this as i set the form submit to go to an external page (google) and it goes there regardless of what's in the javascript.
does the html box need to be positioned somewhere specific for the java to take over the built in forms submit function?