AnsweredAssumed Answered

javascript from form opening asset in pop up

Question asked by JD Nelson Champion on Jul 14, 2015
Latest reply on Jul 14, 2015 by Sanford Whiteman

I embedded a form into a non-marketo landing page but when the PDF opens it does so in a pop up window, which is being blocked by pop up blockers instead of downloading it. I asked my developer about doing it "onclick" instead but he wasn't sure if that would work without filling out the form or not...


form.onSuccess(function(values, followUpUrl){


    //download the PDF

    var a = document.createElement('a');

    a.href='***.pdf'; = '_blank';




is there a different way to code this part?