Forums

Contact Form 7
Open file saveas popup after submiting form (1 post)

  1. simerpreetsingh
    Member
    Posted 5 months ago #

    Hi,

    I have one requirement where i have to allow user to download PDF file only on successfully form submit.
    Currently i am using this
    on_sent_ok: "location ='http://www.website.com/wordpress/wp-content/uploads/2011/12/Doc1.pdf';"

    but it is opening the pdf within the browser not the "saves as" popup.
    Please give me some pointer on this.

    Regards,
    Simerpreet Singh

    http://wordpress.org/extend/plugins/contact-form-7/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 5 months ago by simerpreetsingh
  • This topic is not resolved
  • WordPress version: 3.3