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.

Creating a script to change the font color of an entire row when a field has a certain value

Featured Replies

  • Newbies

Hello all,

 

I am new at this.  

 

I am creating a database for a photographer and I am attempting to get a font color change across an entire row when a condition is set.

 

Basically, the photographer creates 45 prints of one image.  This is called an edition.  I create a record for each print.  So, 45 records.  I have a status drop down field, where I can set that status to "Unprinted" as well as other things.

 

I want the status to trigger a script? where the font changes across the entire row of the record into a faded grey if set to Unprinted.

 

This way if prints 1-5 are printed they will appear in black.

 

6-45 will appeared faded and will not take attention, since they do not exist yet.

 

Is this possible?

Attach conditional formatting to each field in the record.  It would be:

 

Formula is:  Status = "Unprinted"

 

... then below, select your font colour of lighter grey.  There is no need of script at all.

 

Oh!! And welcome to FMForums!!!  :-)

 

BTW, since every field on the layout will want the exact same conditional format, select all your fields and specify the format just a single time.

Edited by LaRetta

  • Author
  • Newbies

You. Rock. Thank you!

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.