how to view PDF shortcodes on a redirect

April 12, 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
April 12, 2019 16:55:34
PRO2PDF
Topics: 2
Messages: 69
Support
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!
April 12, 2019 17:07:49
larryk
Topics: 7
Messages: 21
:) thank you
April 17, 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????


April 17, 2019 06:05:47
E2Pdf
Topics: 7
Messages: 3617
Support
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!
April 17, 2019 13:55:02
larryk
Topics: 7
Messages: 21
but you can't hard code the ID in the form email notification?
April 17, 2019 14:09:30
E2Pdf
Topics: 7
Messages: 3617
Support
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!
April 17, 2019 14:54:18
PRO2PDF
Topics: 2
Messages: 69
Support
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!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.