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.

Changing text color.

Featured Replies

I need a calculation field that is supposed to change its text color if the text color of another field is white. I'm not quite sure how to do this.

This doesn't seem to work:

Case (TextColor ( Att15 ; RGB ( 255 ; 255 ; 255 ) ) ; TextColor ( Att15 Card ; RGB ( 255 ; 255 ; 255 ) ):)

Plus I also need this calculation in this field.

Att15 + PAtt Container

I'm not sure how to make the first calculation work, and I don't know how to combine the two calculations. Any help you can give is much appreciated.

How about this...


Case (



PatternCount ( GetAsSVG ( field ) ; "#FFFFFF" ) ;

 TextColor ( field ; RGB ( 0 ; 0 ; 0 ) ) ;

 TextColor ( field ; RGB ( 170 ; 0 ; 0 ) )

)



if the field has any White text it will be formatted to black if there is no white text it will be formatted red.

  • Author

How would this work?

What I need is to check to see if the color of the text in the Att15 field is white. If it is, I need to change the color of the text in the Att15 Card field to white.

Make Att15 Card an auto-enter calculation, with 'do not replace existing value' deselected, of

TextColor( Att15 Card; Case( PatternCount( GetAsSVG(Att15); "#FFFFFF" ); 16777215; 11141120 ) )

replacing 11141120 for the RGB of the color you want as the default.

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.