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.

Featured Replies

I want to have specific field do one of 2 things...

If the value is greater than 0 I want the text to be green or have a green image behind the text.

If the value is less than 0 I want the text to be red or have red image behind the text.

Personally I would prefer the text to change color but I am at a complete loss of where to start.

If you put this calc into the field definition auto-enter calculation, and UNcheck the "do not replace existing value" checkbox, the color of the text will change when you exit the field.

Case (

table::number > 0 ;

TextColor ( table::text ; RGB ( 0 ; 255 ; 0 ) ) ; // green

table::number < 0 ;

TextColor ( table::text ; RGB ( 255 ; 0 ; 0 ) ) ; // red

TextColor ( table::text ; RGB ( 0 ; 0 ; 0 ) ) // black

)

  • Author

loverly thanks very much

  • 1 month later...

this works beautifully for me to. i need to turn a bunch of fields red if a field on the layout changes. the only fields i am having trouble with are a date field, which doesn't seem to want to change at all. and all the data in a repeating field. i can get the first value to turn but haven't been successful in getting the other values to turn red.

any ideas?

thanks in advance.

Limore

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.