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.

Conditional formatting and the Go to Field script step

Featured Replies

If this is in the wrong forum, please feel free to move it.

I came across something odd today in a FileMaker database, and I was able to recreate it in the attached file.

I had a button that runs script on a related field on a layout. The script did a few checks, and then if they all passed, it had a Go to Field[Field] script step.

This field was layered on top of another field that had conditional formatting applied to it. basically the formatting would color a section behind a few fields if certain criteria were met. The formatting field was a different one than the target of my Go to Fielfd[].

Every time I would run that script, it would go to the formatting field in the background.

What I think I narrowed it down to was that the conditional formatting rules that were applied to the formatting field included checking the field that I wanted to eventually go to.

In the example file attached there are two layout, one called "Go_To_Field_Test with formatting" and one called "Go_To_Field_Test No formatting". The only difference between the two layouts is that on the no formatting one.

On Go_To_Field_Test with formatting when you click "Go To Test2", to the larger field layered behind it.

On Go_To_Field_Test No formatting it correctly puts the focus in Test2

Is this a known issue, and if so, what - if any - are the workarounds for it?

I have noticed that this behavior is the case in FM 9 - FM 11.

Thanks

~Mark

Go_To_Field_Test.fp7.zip

http://www.fmforums.com/forum/showpost.php?post/286486/

Does seem a little strange. Works OK if you send the field to the back.

  • Author

Thanks, comment.

I got it to work last night.

Is this something done by design or is it considered a bug?

Bug.

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.