gravity view page

Gravity Forms
October 21, 2024 06:24:17
ehsanchch
Topics: 1
Messages: 3
I have implemented the following code on a gravity view page, but the file is automatically downloaded as soon as the page loads. Is it possible to display the word "Download" so that the file is only downloaded when the user clicks on it?

[e2pdf-download id="2" dataset="{entry_id}"]

Another question: Is it possible to change the word "Download" to something else, or define a button for it?

October 21, 2024 06:28:24
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

1. Please check if you didn't set the "Auto" download by default.

2. Yes, you can change it in the E2Pdf Template Settings or via the "button_title" attribute added to your shortcode: https://e2pdf.com/docs/shortcodes/e2pdf-download#style

We would really appreciate your feedback at WordPress.org!
October 21, 2024 07:56:43
ehsanchch
Topics: 1
Messages: 3
That’s great! Thank you for your quick response.

Is it possible to design a custom button based on the Visual Composer plugin? I want to use the button code from this plugin.

For example:

[vc_row][vc_column][us_btn label=" DOWNLOUD" link="" align="center"][/vc_column][/vc_row]
October 21, 2024 08:01:28
ehsanchch
Topics: 1
Messages: 3
After, is it possible to remove the name of the file in the saved time?
October 21, 2024 08:04:46
E2Pdf
Topics: 7
Messages: 3617
Support
You can try to add required classes to the [e2pdf-download] shortcode to have the styled output via the "class" attribute:

[e2pdf-download id="1" class="additional-class"]

As for the name, by default, it uses the Entry ID. You can change it within the E2pdf Template settings in "PDF Name": https://e2pdf.com/docs/templates/builder/settings#pdf. It's possible to use also field slugs.

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.