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.

make field BG color conditional?

Featured Replies

  • Newbies

Hi all-

Wondering if anyone had a thought on how I could make a field's color change based on evaluating another field.

That is, if Field A is "1" then Field B turns green (in a specific layout). If Field A is "0", do nothing. Can't seem to find a function in either ScriptMaker or in the Calculation functions.

I appreciate any advice.

Thinks of mergefields showing the char "g" in a considerable fontsize, and use the textformatting functions to change accordingly...

--sd

You cant change a fields BG color but you can fake it by making the fields BG color transparent and using a calculated container field behind the transparent field. See the following thread for a similar example.

change BG Color

Thinks of mergefields showing the char "g" in a considerable fontsize, and use the textformatting functions to change accordingly...--sd

I have used the Arial character "Full Block" U+2588 with good results. It is a pain to resize the field and change font size though, needs a lot of tweaking through trial and error. Example shown below is form a List View layout and uses a calculation field = If(Mod(Get ( RecordNumber );2) > 0; TextColor (g_BG_Character ; RGB (200 ;208 ; 200 ) ); TextColor (g_BG_Character ; RGB (200 ;200 ; 208 ) ))

FullBlock.gif

  • Author
  • Newbies

Thanks. The download example will probably work for me, once I reverse engineer it.

Thanks again!

I have used the Arial character "Full Block" U+2588 with good results.

Ups! forgot to mention that I use "g" from the webdingsfont ...

--sd

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.