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.

Triggerring Scripts From other than buttons

Featured Replies

I asked another question without realizing that Ineeded this answer first.

Can you trigger a script from a set of radio buttons? It seems that you can only trigger scripts from calculation fields and buttons, is this incorrect?

I would like the user to click on one of two options and have that value determin another action.

You can define any object on the layout to be a button. Note that if you define a field to be a button, clicking it will trigger the button action - NOT activate the field.

It seems that you can only trigger scripts from calculation

No not natively, you would need 3rd party plugins for that. But you might be barking up the wrong tree... since filemaker now provides you with recursive calcfield definitions and had as long as remembers Autoenter values to fields as well as fieldlevel validations.

Copying data between locations in the same application, hint's in direction of less abstract way of thinking not quite embracing the relational model.

--sd

you could try to use the eventscript plugin it triggers things automatically such as choosing one of two radio buttons

Put 2 invisible buttons over the radio buttons to run the script. Add a different script parameter to each. Use the script parameter to: 1. set the radio button field, commit, 2. run the correct fork of the script.

BEWARE! You can use EventScript, but as yet, not in FM8. So if you're considering upgrading and the functionality that you're seeking in this area is critical to your project's success, this solution is not yet compatable with this new version.

The developer has indicated on their website, however, that an update is planned. So keep an eye out.(www.softs4humans.com/FMPro_Plugins.html)

Actually, EventScript 1.0 is working fine under FileMaker 8 for Mac Os X. But for an unknown reason, the plug-in is not recognized under FMP8 for Windows.

I'm gonna look at this problem in the weekend and try to have a solution as soon as possible.

About FileMaker version 7, there's no known issue for EventScript 1.0 under either Mac or Windows.

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.