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.

Is there a way to determine the colour of an object?

Featured Replies

I have a CMS in Filemaker where the fields that remain to be filled in by the user are highlighted in red through conditional formatting. Is there a way to determine which fields on a layout are coloured red, so that when the user tries to exit the record I can check that all the necessary fields have been filled in?

Or is there another way to organise this?

Many thanks in advance,

W.

Well most likely the same condition that you use apply the conditional formatting will hold true for your check.

In this case is it most likely IsEmpty(Field). Therefore you can check if every field is empty.

A quick way to make sure that all the fields are not empty is to add them up.

If [ Sum ( IsEmpty (Field1); IsEmpty (Field2); IsEmpty (Field3) ) ]

Show Custom Dialog [ "Not Done" ]

Else

Do next routine

End If

If any of them are empty, then it will return a number so the boolean check of If will be true.

You may also want to use Trim to make sure that they didnt type a space as an extra precaution.

Sum ( IsEmpty (Field1); IsEmpty (Field2); IsEmpty (Field3) )

How about:

Count ( Field1 ; Field2 ; Field3 )

True that would work better.

However it still doesnt give an opportunity to check for unwanted spaces so I would still recommend perhaps using Trim ().

  • Author

OK. Thanks. Unfortunately it's a bit more complicated than empty or not. So it seems I am going to have to duplicate the logic.

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.