Select pdf page output on shortcode [e2pdf-download id="x"]

Gravity Forms
December 13, 2021 15:51:02
gruptemple
Topics: 8
Messages: 19
Hi team,
I have a pdf with 2 pages.
In the confirmation message of the Gravity Forms form, I want a page of the pdf to download with a link and another page with another link.
In the documentation I have seen the optional parameter for the shortcode [e2pdf-view id = "1" page = "2"]
Is such an optional paramenter possible? [e2pdf-download id = "1" page = "1"] and [e2pdf-download id = "1" page = "2"]
Thanks so much!!
December 13, 2021 23:05:01
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

There is no "page" attribute currently, however you must be able to use "args" functionality to accomplish the task:

It must be used such "shortcode" constructions:

[e2pdf-download id="1" arg1="1"]

[e2pdf-download id="1" arg1="2"]

Inside E2Pdf Template it must be used actions on pages as attached on screenshot. Pages must be hidden by default via "1" = "1" with 1st action and with 2nd action it must be showed depending on your condition, in our case it must be used [e2pdf-arg key="arg1"] which equals to "1" for 1st page or "2" for 2nd page.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
December 14, 2021 01:33:19
gruptemple
Topics: 8
Messages: 19
Hi Team,

It Work fine!! :)

This resolves my issue.

Thanks so much!!
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.