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.

GetFieldName() in conditional formatting - bug?

Featured Replies

I am trying to highlight the active field using the new GetFieldName() function:

Get (ActiveFieldTableName) & "::" & Get (ActiveFieldName) = GetFieldName ( Self )

I have the same formula attached to a tooltip. When the field is active, the tooltip returns true - but conditional formatting is not applied. Is this a bug or am I overlooking something?

GetFieldNameBug.fp7.zip

  • Author

OK, I think I see what the issue is: it doesn't think it needs to evaluate when active field changes. If I add a bogus condition to the conditional formatting, it wakes up - but it still changes the formatting only on screen refresh, so it's one step behind reality.

  • Author

Thanks, Stephen - that's actually what I did:

http://fmforums.com/forum/showpost.php?post/314863/

I just thought that with this new function it would be possible to do something more interesting.

EDIT:

The file above is not a good example, because conditional formatting is never applied to the active field; you need to duplicate the fields on the layout to see the effect (or lack thereof).

Edited by Guest

Conditional formatting doesn't apply to active field. That's why you have to use Stephen's example and think "reverse"

  • Author

Yeah, never mind - I was trying something overly ambitious (and wasn't fully awake to boot : ).

---

As far as I am concerned, this entire thread can be deleted - I fear it serves only to confuse.

Edited by Guest

As far as I am concerned, this entire thread can be deleted - I fear it serves only to confuse.

i think it shows humility and proves that even experts sometimes can't see the forest thru the trees. :

  • Author

Yeah, that's what I said.

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.