How To Add a Link on Your View to Download a PDF
If you are using Gravity PDF to generate PDF files after form submission, then you can easily add a link to your View to let users download these PDFs.
Watch the Video Tutorial
Required: Gravity PDF
First off, if you haven't already, install the Gravity PDF plugin. You can do this by hovering over Plugins in your WordPress admin, clicking Add New, and searching for it in the plugin directory.
After installing Gravity PDF, follow the steps below.
1. Create a New PDF Feed
To create a new PDF feed, hover over Forms and click on Forms. Next, hover over your form, hover over the Settings link, and click on "PDF". To add a new feed, click Add New.
There are plenty of settings here for customizing the look and feel of your PDF files, user permissions, and much more. After configuring the feed, click Add PDF.
2. Copy the Gravity PDF Shortcode
The next step is to add the PDF download link to your View in GravityView. To do this, first copy the Gravity PDF shortcode from the PDF feed page by clicking on the button that says "[/] Copy Shortcode".
3. Add the Shortcode to a Custom Content Field
Edit your View and add a Custom Content field by clicking the + Add Fields button and selecting Custom Content.
Now, open the Custom Content settings by clicking on the gear icon and paste your Gravity PDF shortcode into the text editor.
Now save your View by clicking Update. Open your View on the front end. You'll see a new column containing PDF download links for each one of your entries.
Note: for more information on how GravityView integrates with Gravity PDF, read this article on the Gravity PDF website.