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.

Featured Replies

I have a web site that is presenting data from fields in a Filemaker Database. FM 11 Server. When viewing the text in a browser it does not see the carriage returns. Is there a way to embed some html/php in the field so that the browser will add in carriage returns?

HTML ignores carriage returns.  Try Substitute(YourWebText; "¶"; "<br />")

  • Author

Thanks but that doesn't work. I've tried PHP tags too and they just show as text. Anyone?

Why don't you zip a copy of your file with a few sample records and post it?

  • Author

I couldn't find any way from anybody on how to type something into the text field that would be respected by a browser. But I did find a PHP function that does what I need.

 

So the original html/php code was: 

 

<dd><?php echo $record->getField("Field_Name"); ?></dd>

 

The revised code is:

 

<dd><?php echo nl2br($record->getField("Field_Name")); ?></dd>

 

which has the effect of rendering the breaks typed into the Filemaker text field in the browser.

you can use getFieldUnencoded in your php code to see the text with the html attributes

 

Martie

Thanks for the feedback.

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.