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.

Portal popup field that will run a script when clicked on

Featured Replies

I have a portal field that is a popup type. In addition to letting the user choose a value for the field, I would like a script to run when the user clicks on this field.

I have tried the following without success:

1) If I give this popup field button capabilities in order to run a script, the script will run but the popup function no longer works.

2) If I try to use script triggers for this popup field, no matter what event(s) I choose, the popup function works but the script never runs.

Any ideas?

no matter what event(s) I choose, the popup function works but the script never runs.

How about OnObjectModify?

See also:

http://fmforums.com/forum/topic/79182-script-triggers-not-telling-me-if-a-field-really-was-modified/page__p__369336#entry369336

Are there script triggers in version 9?

Hi Tom,

Script triggers will not fire upon field entry (when using pop-up menus or radio buttons). As mentioned, script can fire OnObjectModify (after User makes a selection). Can you explain what you need the script to do (upon field entry and also after user makes selection) and we can provide more detailed response? You will probably have to turn off entry to the field like the ole' days.

Hi efen,

I assumed 11 because Tom mentioned script trigger but it is good to verify. Tom, please update your profile if need be. :^)

  • Author

I am on FileMaker Pro Advanced 11.

The modify event works. I had some other code that was not making it work.

Thanks to all of 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

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.