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.

Removing formatting when entering data

Featured Replies

I've had a problem with formatting being entered into fields when I paste content. So if I have a field whose formatting is defined on the layout as Verdana 12 but I paste something that had other formatting like Times 24, the other formatting (Times 24) remains in the field.

After some searching, I found that if I set a field to a calculated value of

TextFormatRemove ( Self )

and uncheck the "Do not replace existing content of field (if any)" box, the formatting is removed when I exit the field and the formatting I defined for the field applies.

Is there any way to set this globally for the FM database or for the layout so I don't have to do this for each field? Thanks in advance.

You could use a custom menu to replace the Paste command with Paste Text Only or with the Paste script step with the Paste without style option.

 

  • Author

Thanks. So there's no way to set this globally?

1 hour ago, rcacciato said:

So there's no way to set this globally?

If by "this" you mean auto-entered correction of user entry, then no - I don't know of a way to set this for all fields at once.

Another option you could consider is a script triggered on record commit that loops among all fields on the layout (more precisely, all fields in the layout's tab order). But IMHO attacking the problem at its source would be best.

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.