• Hi,

    I have put this code into Additional Settings of my form

    
    document.addEventListener ('wpcf7mailsent', function ( event ) {location = 'https://mywebsite.com/wp-content/uploads/2020/05/TestPDF.pdf';}, false );

    The form submits successfully but i dont ever get prompted to download the PDF

    Is there something else i need to do to get it to work?

    Thanks

    • This topic was modified 4 years, 6 months ago by tobytyke.
  • The topic ‘CF7 not downloading PDF on submit’ is closed to new replies.