Attachment name based on name field on gravity forms

Gravity Forms
2 February, 2022 01:35:10
pras
Topics: 2
Messages: 5
hi, i just create a submission form for my institution with gravity form and use e2pdf to generate form submission, and add shortcode [e2pdf-attachment id="1"] in form notification it's works perfect but one question is it posible to generate the pdf file name based on field name on my form?

for example in form i input John Smith and i want the name of pdf that attach to the email is Formulir_Pendaftaran_John Smith?
2 February, 2022 01:56:10
E2Pdf
Support
Topics: 7
Messages: 3331
Hi,

You must be able to set global PDF name with Gravity Forms slugs under E2Pdf Template Settings (screenshot attached).

We remain at your service.
We would really appreciate your feedback at WordPress.org!
2 February, 2022 03:25:48
pras
Topics: 2
Messages: 5
ok i understand, i attach screenshot form template setting. is this correct?
2 February, 2022 03:48:55
E2Pdf
Support
Topics: 7
Messages: 3331
Yes, setup looks correct. If you do not need Entry ID in name you can just remove it or style as you need as:

{entry_id}_{Field:10} or otherwise.

PDF name must be generated depending on this setting if you are not using "name" attribute along with [e2pdf-attachment] shortcode.
We would really appreciate your feedback at WordPress.org!
2 February, 2022 04:08:39
pras
Topics: 2
Messages: 5
ok thank for your help..