Gravity forms multiple images

Gravity Forms
April 21, 2021 01:55:57
ramsu
Topics: 8
Messages: 14
Hi,
How can I map individual images from a gravity forms "Multiple Files" file upload field?

I can map single file uploads OK, like: {Property Main Photo:11}

But I can't get multiple files to work.
Tried this into a text area in a PDF: {Photos:904}
But this just prints out the image URL's in a comma separated list.

Then tried this: {Photos:904:1} - thinking it would get file 1, but again this just prints out all file URL's in a comma separated list.

Please let me know how I can map individual files (from a multiple file field) to separate areas in a PDF.

Thanks
April 21, 2021 05:06:28
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Use please as value Gravity Forms shortcode with [e2pdf-format-output] shortcode wrapper as follows:

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

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

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

and so on..

We remain at your service.

We would really appreciate your feedback at WordPress.org!
April 21, 2021 06:17:32
ramsu
Topics: 8
Messages: 14
Thanks, that worked!
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.