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.

rectangles at end of each line.

Featured Replies

Hi

Using FMSA on Windows Server 2003.

returns within a textarea form field via IWP or XSL or PHP result in a rectangle box at the end of each line when viewed via filemaker client. I have looked through many posts and have found a couple of people have had the same type of problem but I have not seen a solution. I first thought this was only an XSL problem so I asked there and Martin was kind enough to make a couple of suggestions but now it looks like a more global problem for me.

thanks!

steven durow

This is likely to be the FM Vertical Tab. It has a hex value of "x0B". You can find its other values at:

http://www.lookuptables.com/

We use a str_replace("",'<br />') function to replace them with a break. We have also used chr(11) to find them.

Good Luck.

Garry

  • Author

Thanks for the help. Could you please help clarify.

Say I have

$skills=$_POST['skills'];

I tried this

$skills=str_replace($skills," ",'<br />')

Which put just <br /> in the skills field that is it everything else is gone.

I also put chr(11) instead of what you typed but that did not work either.

Sorry but I am new to PHP.

Also within FileMaker, how can I get rid of the rectangles? I have tried using

Substitute(assessments_description,"|","")

I have also tried to copy the rectangle but that did not work either.

Again thank you so much for replying!

Try this:

$skills=str_replace($skills,chr(11),'<br />');

In FM (not IWP) are they appearing as new lines in a text field? If not they may not be chr(11). They could be Carriage Returns (different between Mac, Win, Lin). This would be chr(13).

All the best.

Garry

  • Author

It looks like I had the syntax wrong.

This worked:

$skills=str_replace(chr(10),'',$skills);

Thank you so much Garry for getting me there! I appreciate it.

Whoops, I should have picked-up the syntax as well.

All the best.

Garry

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.