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

Triggerring Scripts From other than buttons


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

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

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.

Posted

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)

Posted

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.

This topic is 7023 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.