Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8705 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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
Posted

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?

Posted

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.

Posted

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

This topic is 8705 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.