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.

Stopping users changing font

Featured Replies

I have a text field in each record for users to enter comments into. I want it to be a certain font/size. How can I stop users from selecting another font/size so when I print it all out, all the comments are my choice of font and size.

Seems a simple thing to do, yet I have searched and not found the answer. can it be done ?

You should be able to do this by removing their design privileges, I can't exactly remember how this works in FM6 (I don't have FM6 at home or I would check it) but explore this option first..

  • Author

I forgot to update my profile. I am using FM 8.5 if that is any help.

I can't see how to disable design functions.

In FM8/8.5, you can disable the formatting menu for a privilege set by either changing the privilege set's menu access to "Minimum", or using a custom menu set that doesn't have the formatting options available.

Alternatively, you can have specific fields always revert their formatting to the default by adding an auto-enter calculation to the field definition of: TextFormatRemove(Field), and unchecking the option to "do not replace existing value".

  • Author

Your second option works a treat. Thank you for your time.

It's much appreciated.

  • 2 weeks later...
  • Newbies

How do I get this to work for text that is pasted into a field? It seems to want to bring the font formating with it.

You have two options using Keyboard combinations (and there is Script Steps that do this too)

You can paste the Clipboard content using Cmd V (this what you have been doing)

You can Paste the Clipboard content using Cmd Option V (this paste with without style, meaning it will use the style of the field you are pasting into)

The Auto Enter method is the best in My Opinion for what you have described.

Go into Define Fields and select the Field Involved.

Click on the Option Button

Select Calculated Value

TextFormatRemove(Field)

Click Okay.

[color:red]Deselect the Option "[color:blue]Do not replace existing value of field "if any"

Click Okay

HTH

Lee

  • Newbies

Thanks Lee. For some reason neither of your suggestions seem to work. Is there something else I have set wrong?

I notice in Field Control I have "Synchronize with fields font" selected. Is that a no-no?

Thanks again for your help.

  • Newbies

Oops! never mind it is working. I have to click off the field before it shows correctly. Thanks so much.

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.