PDF Attachment Name

March 14, 2024 07:44:53
darrellwilde
Topics: 1
Messages: 3
Hi Guys

Is there a way to make the pdf attachment which I receive be named some of the fields which have been submitted by the user?

For example the form they complete asks for Name Date City.
Could the PDF attachment be named these fields?
March 14, 2024 09:10:35
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,

You can change the PDF file name by modifying the "PDF Name" setting inside the E2Pdf Template: https://e2pdf.com/docs/templates/builder/settings#pdf (recommended)

It's possible to use field slugs/shortcodes that are available depending on the extension used.

You can also set the "name" attribute in the shortcode directly, for example:

[e2pdf-attachment id="1" name="PDF Name"]

* Not all extensions support using field slugs/field shortcodes inside the "name" attribute.

We would really appreciate your feedback at WordPress.org!
March 14, 2024 09:59:43
darrellwilde
Topics: 1
Messages: 3
So im currently using E2PDF with Fominator Forms plugin.

Some of the fields i want to use are: {select-1} - {text-2} - {date-1}

So would the attached image work?
March 14, 2024 10:01:20
E2Pdf
Topics: 7
Messages: 3617
Support
Yes, correct, if it would be used simple attachment shortcode [e2pdf-attachment id="1"] - you must get the PDF name based on that values.

We would really appreciate your feedback at WordPress.org!
March 15, 2024 02:16:48
darrellwilde
Topics: 1
Messages: 3
Yes it works perfect now!

Saves time renaming the pdf manually.

Thank you!
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.