how to view PDF shortcodes on a redirect

12 April, 2019 04:06:42
larryk
Topics: 7
Messages: 21
I know there are issues when using the Formidable redirect to the thank you page and this is the solution:

Use the E2Pdf shortcode in a Formidable View then the view's shortcode in the thank you page.

However, what exactly do I do? I'm not understanding the solution.
Can you give me step by step to make it work?

again, I have this situation:
1) form
2) submit and redirects to thank you page
3) I need the download link or view link on the thank you page

thanks
12 April, 2019 16:55:34
PRO2PDF
Support
Topics: 2
Messages: 69
There are a couple of ways to accomplish this task, here are PRO2PDF instructions to use a Formidable View in a redirected page which provides a merged PDF... simply swap the PRO2PDF shortcode with the E2Pdf shortcode...

I created this quick example in 2 minutes using the E2Pdf view shortcode...

In short,
1. Add Parameter to Redirect URL
2. Create Formidable View with E2Pdf shortcode (using the dataset= parameter) and "Get Param" as filter
3. Add the view shortcode to the redirected page.
4. Enter data and test form output.

For additional security to prevent users from changing the dataset parameter to view other's data, pass the formidable's KEY value rather than the ID... USE: currentid=[key] rather than currentid=[id].

We remain at your service.
We would really appreciate your feedback at WordPress.org!
12 April, 2019 17:07:49
larryk
Topics: 7
Messages: 21
:) thank you
17 April, 2019 05:55:08
larryk
Topics: 7
Messages: 21
I have it working with the view, etc. thanks!

however, HOW will it work to attach the PDF on the formidable email notification? I want to email the PDF to the customer?

1) the user fills in their email address
2) I have the redirect to different URL, as outlined above.
3) on the redirect URL, I allow user to download the PDF (and that works)
4) ALSO, I want to attach the PDF to an email...

SO how does that work? on the redirect, I understand how it works, as its passing the key parameter,
but via email, there is NO parameter????


17 April, 2019 06:05:47
E2Pdf
Support
Topics: 7
Messages: 3330
Just use [e2pdf-attachment id="1"] shortcode inside email body, where 1 is the ID of E2Pdf Template that is connected to current form.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
17 April, 2019 13:55:02
larryk
Topics: 7
Messages: 21
but you can't hard code the ID in the form email notification?
17 April, 2019 14:09:30
E2Pdf
Support
Topics: 7
Messages: 3330
If you mean static Entry ID - it's possible via "dataset" parameter.

Shortcode will be [e2pdf-attachment id="1" dataset="1"]

All parameters that are available for this shortcode you can find by link: https://e2pdf.com/support/docs#shortcode-e2pdf-attachment.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
17 April, 2019 14:54:18
PRO2PDF
Support
Topics: 2
Messages: 69
In your case, just use [e2pdf-attachment id="1"] in the email, E2Pdf will automatically use the current Formidable EntryID that is causing the email action. You only need to use the dataset="1" parameter if you want to specify a different, specific form entry.

We remain at your service.
We would really appreciate your feedback at WordPress.org!