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.

Trigger script from popup selection?

Featured Replies

  • Newbies

I was at the recent MacWorld and during the demo of FM5 and the FM folks said that the you can now trigger a script when a selection is made from a popup list or menu. I can't seem to find anything about it in the documentation. Can anyone point me to it or show me how this is done?

Thanks,

Way

I don't know of this being built into FileMaker, unless something has changed that I'm unaware of. I know of two work arounds for this. Use a plug-in like ScriptScheduler or use a script like this:

Go to Field [ Select, Trigger_Field ]

Loop

  • Newbies

How do you start this script automatically? I tried it and it works as long as you invoke the script from the script menu. How do you get the script to run when leaving a field?

You can put a little button next to the field that calls the script. Filemaker remembers the field you were in. Not elegant but only other option is a plugin.

You can also assign the field itself to be a button.

Select the field on the layout. Go to the Format->Button option in the menu bar. Select the Perform Script step on the left and select the script from the menu on the right.

This solution has the disadvange that the user must click into the field for it to work. In other words, tabbing into the field will not run the script. However, it might be a workaround to remove the field from the tab order of the layout so that the user has to click into it to change the contents.

If this doesn't work for you, then you need to take a look at a plug-in like ScriptScheduler.

Chuck

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.