Gravity forms multiple images

Gravity Forms
21 April, 2021 01:55:57
ramsu
Topics: 7
Messages: 13
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
21 April, 2021 05:06:28
E2Pdf
Support
Topics: 7
Messages: 3345
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!
21 April, 2021 06:17:32
ramsu
Topics: 7
Messages: 13
Thanks, that worked!