List items as created in form

Formidable Forms Resolved
5 July, 2019 11:01:52
AdventurePro
Topics: 12
Messages: 26
Hi

I am trying to output a list of items created in formidable forms, but they always end up in one line. How do it get to make it put each item on one line like it looks on the form. See attached
5 July, 2019 11:42:49
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

To output data from "textarea" you need to replace "\r\n" with <br> as "HTML" object ignores it.

To do so you can use:

- "Preg Replace" with regex (screenshot 1):
Pattern: /\r\n|\r|\n/
Replacement: <br>

OR

[e2pdf-format-output] shortcode (screenshot 2).
Set value as: [e2pdf-format-output search="\r\n" replace="<br>"][659 wpautop=0][/e2pdf-format-output] where 659 is your Field ID.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
7 July, 2019 02:23:22
AdventurePro
Topics: 12
Messages: 26
Thank you - however [e2pdf-format-output search="\r\n" replace=""][883 wpautop=0][/e2pdf-format-output] still does not work. I get the attached screenshot.(Capture)

If I use: [e2pdf-format-output search="/\r\n|\r|\n/" replace=""][883 wpautop=0][/e2pdf-format-output] I get screenshot Capture2

I would like to to break to each item on its own line.
7 July, 2019 03:23:20
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

2nd shortcode usage is incorrect.

Can you please clarify which "e2pdf-element" are you using to output value? To check this: "Right" mouse click on element -> "Properties". At the top you will see element type. (screenshot attached).

If it's "e2pdf-input", just remove field and replace it to "Textarea" with value: [883 wpautop=0]

If it's "e2pdf-html", value must be inserted via "Properties". "Right" mouse click on element -> "Properties" -> find "Value" and insert: [e2pdf-format-output search="\r\n" replace="<br>"][883 wpautop=0][/e2pdf-format-output]

If again failed, please attach screenshot of "Properties" with "type" and "value".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
7 July, 2019 03:41:12
AdventurePro
Topics: 12
Messages: 26
Thank you - that was the problem - all sorted now and I have learnt a new thing.

THANK YOU