How to display / download the PDF in Formidable Forms after a user submit the form?

Formidable Forms
19 September, 2024 08:27:17
Stadtluft
Topics: 5
Messages: 9
Hi there,

I have the Free version of e2pdf and the Pro version of Formidable Forms.

Right now when a form is submitted, users get the PDF to download via mail but I would also like, after submission, that users are redirected to a page where they can view the PDF or download it.

I have a page were users are redirected after the submission and there I have a shortcode: [e2pdf-view id="3"]

But after redirect this page it's empty. How come?

I also tried with other shortcodes like [e2pdf-download id="3"] but same results.

Many thanks in advance!
19 September, 2024 08:35:01
E2Pdf
Support
Topics: 7
Messages: 3345
Hello,

It needs to use the Formidable Forms View placed on the page with the Redirect URL that should contain the Entry Key. To accomplish the task, please follow the steps below:

1. Create Redirect and Formidable Forms View as described here: https://formidableforms.com/knowledgebase/create-a-view/#kb-show-entry-after-form-submission

2. Use the shortcode inside Formidable Forms View as:

[e2pdf-download id="3" dataset="[id]"]

or

[e2pdf-view id="3" dataset="[id]"]

* [id] should remain exactly as it's shown above.

3. Insert the created Formidable Forms View into the Redirected Page

We would really appreciate your feedback at WordPress.org!
20 September, 2024 01:01:54
Stadtluft
Topics: 5
Messages: 9
Many thanks! It works just fine.

I have a question: are these PDFs saved also on the server / Media gallery of WP?

I ask because we expect more than 8k PDF for this project ...
20 September, 2024 02:30:56
E2Pdf
Support
Topics: 7
Messages: 3345
Hello,

No, by default, [e2pdf-download] / [e2pdf-view] shortcodes do not save PDFs on the server unless the "PDFs Cache" option is turned ON (by Default it's OFF).
We would really appreciate your feedback at WordPress.org!