Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Paragraph breaks problem in CWP

Featured Replies

Hi,

I have a text field typically with several paragraphs but the output on web page ignores the paragraph markers altogether (whatever they may be in Filemaker). So the text becomes one big, hardly readable block.

I am using FMSA 11 on Mac, PHP is set to UTF-8 nn FMSA Web Publishing section.

I have tried e.g. GetAsCSS calculation, but PHP just outputs the result plainly on the web page, that is, the original text with html-entities. This might be solved with PHP html_entity_decode() Function but is this really the only option available?

Thanks for any answers!

Arto

Hi,

I have a text field typically with several paragraphs but the output on web page ignores the paragraph markers altogether (whatever they may be in Filemaker). So the text becomes one big, hardly readable block.

I am using FMSA 11 on Mac, PHP is set to UTF-8 nn FMSA Web Publishing section.

I have tried e.g. GetAsCSS calculation, but PHP just outputs the result plainly on the web page, that is, the original text with html-entities. This might be solved with PHP html_entity_decode() Function but is this really the only option available?

Thanks for any answers!

Arto

Have you tried:

nl2br($your_returned_field);

  • Author

Have you tried:

nl2br($your_returned_field);

Hi webko, it worked immediately! So many thanks to you!

Yours,

Arto

If only all questions were solved so easily ;-)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.