Repeating Fields [foreach]

12 October, 2018 13:55:24
smoyereric
Topics: 2
Messages: 6
I saw the previous post on this. Are there plan to further support this in the future?

Based on the prior post I was able to use the [foreach] to list multiple entries but I can't seem to figure out how to list each entry on a new line, I tried to use the HTML but that prints in the PDF and doesn't result in a line break. Am I not doing something right?

Thanks for any insight!
12 October, 2018 14:15:18
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

I'm sorry, can you please be more specific? A bit unclear is it connected to "repeating" fields? Or showing "download" links?

Maybe you can attach some screenshots that can show the issue so we can better understand the problem?

We remain at your service.


We would really appreciate your feedback at WordPress.org!
12 October, 2018 17:34:40
smoyereric
Topics: 2
Messages: 6
In formidable you can have a repeating section with various field within it that allows people to click the Add or Remove button to add multiple entries in that section.

I can get it to display as a list separated by commas but I would like to use HTML to put each entry on a new line.

It's not letting me attach an image, says it's not a valid file type even though it's a PNG.

Let me know if things still aren't clear! Thanks!
12 October, 2018 22:08:29
PRO2PDF
Support
Topics: 2
Messages: 69
To create a new line for each entry, you need to manually add the line-break before the [/foreach] to your textarea or html field like this...

[foreach 432] [434] - [435] - [436]
[/foreach]


Regarding the image issue, where are you attaching the image? Are you selecting an image to use in an Image object or are you merging images from a repeatable section? Please elaborate.
We would really appreciate your feedback at WordPress.org!
13 October, 2018 06:55:43
smoyereric
Topics: 2
Messages: 6
That did it! Thank you.

In regards to the image. I was trying to attach a screenshot to my response here but it wouldn't let me.

Thanks again!