How to Display download link in email of the PDF with some pages less

Gravity Forms
1 July, 2019 04:53:26
wakadala
Topics: 8
Messages: 20
I have a full template of PDF, which is important to have all information filled for the admin, but for the person filling, i need them to receive only certain pages of the PDF. How can I define the pages to show and not to show in the pdf for the specific notification mail without having to create another template? Thanks!
1 July, 2019 06:53:32
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

You can use "Actions" and "Conditions" with [e2pdf-user] shortcode.

As a possible solution:
- Create Action to hide page by default: If 1 = 1 then "Hide page"
- Create Action to show page only for specified users: If [e2pdf-user] = 1 then show page.

Screenshots with example attached.

P.S. "e2pdf-user" can be also defined on [e2pdf-download] and other shortcodes:
[e2pdf-download id="1" user_id="1"]

or user can be selected on admin export page at "E2Pdf" -> "Export".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
1 July, 2019 07:24:49
wakadala
Topics: 8
Messages: 20
I'm trying this out then let you know what happens. Thanks so much for the help!