Skip 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.

Insert text form another field and keep formatting

Featured Replies

Is there a script that can...

If I enter a large field of text, insert my curser somewhere in the text, then hit a button, can the script with that button then insert text where my curser point is in the text field? And can the text it inserts be text from another field (I know how to do this part up to here)?

And for the part I cant figure out...when it inserts the text from the other field can it maintain the formatting that the other field might have, in particular, the color of the text?

The reason I ask is that I currently have a time stamp button that inserts the current date and time at the curser point in a text field. I was just trying to figure out way to have it be colored red. I figured my script could first insert the time stamp into a global field whose text is formatted red, then take the contents from the global field and insert it at the curser point in another field.

LR

One of the demo files kicking around on my web site shows just such a technique.

You'd be welcome to download it and see if you think it would be suitable for your current requirement if you like.

The web address to retrieve the demo file is:

http://www.nightwing.com.au/FileMaker/demos/InsertFormattedText.zip

It's password free so you can access the scripts, field definitions and layouts to see what's what.

Hope that will give you something to work with.

Well, Ray ... This AND ClickTips! We don't need FM to improve their program, laugh.gif Ray's doing it for them!!! Hey, Ray, there's a wish list on the Cafe' you could take a look at grin.gif Thanks for all you do for us!

My thoughts exactly, if it wasn't for the FileMaker gods on this board, who knows what I'd do.

  • Author

yes indeed. Sure would be nice if features like this would be included in the core features, not user work arounds.

Great solution Ray

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.