PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Open a file upon submission of your form

  1. Bloomdes
    Member

    I want the user to fill out a contact form and upon submission they can download a pdf. They cannot have access to the pdf unless they complete the form.

    Can this work with Gravity?

    Posted 13 years ago on Wednesday August 4, 2010 | Permalink
  2. The confirmation text is only displayed to the user after the form is submitted. You could include a link to the PDF in the confirmation text message so they only see the link if they submit the form.

    That doesn't secure the PDF itself from them giving the URL of the PDF to a friend, but Gravity Forms isn't in the business of content protection so that isn't something we could prevent. But it would provide a simple solution for offering a PDF download behind a form submission.

    Posted 13 years ago on Wednesday August 4, 2010 | Permalink
  3. How do include the link to PDF containing submitted data?

    Posted 13 years ago on Tuesday August 10, 2010 | Permalink
  4. Include a PDF that contains submitted data? I'm a little confused. Do you mean you want a PDF to be created from the data submitted in the form itself? If that is what you mean, Gravity Forms has nothing to do with PDF creation.

    If you want to make a PDF available for the user to download after submitting a form, you would edit the Confirmation message for that form and add a link to whatever PDF you want them to download in the Confirmation text. You would have to add an actual HTML link to the confirmation text.

    Example:

    <a href="http://mydomain.com/mypdf.pdf">Download PDF</a>

    You would have to upload it somewhere such as your Media Library and then get the URL to it and create a link using HTML in the Confirmation text.

    Posted 13 years ago on Tuesday August 10, 2010 | Permalink
  5. So, there is no way to create PDF from the data submitted in the form itself? I know Gravity Forms has nothing to do with PDF creation, but I thought there is some way to generate PDF from submitted data (using some script or third party services)

    Posted 13 years ago on Tuesday August 10, 2010 | Permalink
  6. Gravity Forms itself does not have a PDF creation feature. It's certainly possible to do so, however that would be a customization and outside the scope of the Gravity Forms feature set itself.

    Posted 13 years ago on Tuesday August 10, 2010 | Permalink
  7. Hi Netxm, we are currently looking for the same solution - generate a PDF from form submission data. Have you made any headway on this? Any help or direction is greatly appreciated, thanks!

    Posted 13 years ago on Friday October 22, 2010 | Permalink
  8. Subscribing to this topic, forgot to do it first time around!

    Posted 13 years ago on Friday October 22, 2010 | Permalink