Display multi file uploads as links in list

Forminator Forms Released
November 29, 2022 18:55:28
itsmir
Topics: 1
Messages: 2
Hello,

I've mapped a field {upload-1} for multiple file uploads which outputs in the PDF as text (not urls') - one long line with comma's separating the file locations running outside the container.

When using the same field-id in forminator notifications, it renders as a list of (shortened) URL's. Is it possible to replicate this in the PDF? If not, is there a better way of including either linkbacks or the images themselves on the pdf?

Thanks in advance!
November 30, 2022 02:22:46
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

You can update the plugin to the latest RC version by following the steps in a current topic: https://e2pdf.com/support/desk/how-to-update-plugin-to-rc-release-candidate-version-from-e2pdf-com.

After the update, you must be able to use {upload-1:html} inside the "HTML" object to output the same way as in the "Notification". Keep in mind please that by default it outputs files with a "<br/>" separator, so, in case you need to output it via "comma", you will need to use the following construction:

[e2pdf-format-output search="<br/>" replace=", "]{upload-1:html}[/e2pdf-format-output]

* "Disable WYSIWYG Editor" option must be checked. Screenshot attached.

Or as an alternative (supported in "Stable" and "RC" versions), you can display "images" via "Image" objects by mapping separate images as:

1st image: [e2pdf-format-output explode=", " output="{0}"]{upload-1}[/e2pdf-format-output]

2nd image: [e2pdf-format-output explode=", " output="{1}"]{upload-1}[/e2pdf-format-output]

3rd image: [e2pdf-format-output explode=", " output="{2}"]{upload-1}[/e2pdf-format-output]

and so on...

Let us know please if it will be any issues.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
November 30, 2022 03:32:55
itsmir
Topics: 1
Messages: 2
That's perfect - thank you so much for the fast solution, much appreciated!
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.