How to save download link

16 October, 2024 13:03:45
CamiloS
Topics: 9
Messages: 13
Hi. I use e2pdf with Gravity Forms and GravityView. Can you please tell me how can I save in a field of my form, the generated PDFs url download links? I use the following code to get the URL in a gravityview: [e2pdf-download id="4" dataset="{entry_id}" output="url"]. but have not been able to save the URL in a field of my form. Thanks a lot!
16 October, 2024 13:12:35
E2Pdf
Support
Topics: 7
Messages: 3330
Hello,

Could you please clarify, do you need to have the PDF download URL exactly saved in the Gravity Forms Entry or do you need just the PDF download URL in the Gravity Forms Entry Details page?
We would really appreciate your feedback at WordPress.org!
16 October, 2024 13:49:10
CamiloS
Topics: 9
Messages: 13
Thanks. I would like to save each PDF URL in a text field of the Gravity Forms form that have the info for generating the PDFs.
16 October, 2024 13:53:01
E2Pdf
Support
Topics: 7
Messages: 3330
In this case, you should be able to use the [e2pdf-download] shortcode as the "Default Value" of the field to have it saved in the entry, for example, it can be a "hidden" field.

[e2pdf-download id="4" output="url"]
We would really appreciate your feedback at WordPress.org!