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 from pasted text

Featured Replies

I have a database of contact information and as the data grows, more and more of it is cut and pasted from emails, spreadsheets etc. Unfortunately a lot of the fonts/sizes/colors of text are also embedded in the text that is getting pasted into the fields. Is there a way to impose standard font/size/color on the text in the field?

  • Author

I think the thing would be to build a little script that would allow something like this:

Replace Field Contents(textformatremove(current_field))

This way any field could have the formatting removed.

I am not that clear about how to make the replace work on the current field if any one has a suggestion on that I would appreciate it.

You might find this recent tread helpful. I show how to set up a Auto Enter Calculation, which is good for your future pastes,

Link

To change the existing fields formatting, you can either use the Replace from the Menu, or use a script.

Go to Record/Request/Page

[ First ]

Loop

Set Field [ Text; TextFormatRemove (Text ) ]

Go to Record/Request/Page

[ Next; Exit after last ]

End Loop

Note, you would need a separate Set Field for each of the fields involved.

You could also make this generic, and then change the found set for the Current Active Field, by using the Set Variable Script step

Go to Record/Request/Page

[ First ]

Loop

Set Variable [ $CurrentField; Value:Get ( ActiveFieldContents ) ]

Set Field [ TextFormatRemove ( $CurrentField ) ]

Go to Record/Request/Page

[ Next; Exit after last ]

End Loop

HTH

Lee

[color:red]Note:

Be sure to back up your files, or use a copy of them, as you can not UNDO this action.

Edited by Guest

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.