List items as created in form

Formidable Forms Resolved
July 05, 2019 18: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
July 05, 2019 18:42:49
E2Pdf
Topics: 7
Messages: 3614
Support
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!
July 07, 2019 09: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.
July 07, 2019 10:23:20
E2Pdf
Topics: 7
Messages: 3614
Support
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!
July 07, 2019 10: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
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.