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.

background colour dependent on numerical value

Featured Replies

  • Newbies

I would like to be able to have the field background be dependent on the numerical value in the field for example if the value was >90 the field background would turn red...if vaule >80 background=blue...

Hi Ric,

That's where I'll use containers.

Even with 2 colors.

create a global field called red_highlight (multivalued, 2)

create an unstored calculation (container format) =

Highlight = Case (yournumberfield >90, GetRepetition(red_highlight,1), yournumberfield >180, GetRepetition(red_highlight,2),"")

Draw your colors in a rectangle (no borders)

Copy (in Layout mode)/paste (in Browse mode) into the different repetitions.

Drag that new field on your layout and set it with same size as your number field.

Set the image (see format for this).

Place it back of your field.

Make your number field transparent.

That's it.

OOOps

Case (yournumberfield >80 and yournumberfield<90, GetRepetition(red_highlight,1), yournumberfield >90, GetRepetition(red_highlight,2),"")

Use as many colors as you want....

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.