August 24, 200520 yr 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.
August 25, 200520 yr 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.
August 25, 200520 yr 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
August 25, 200520 yr you could try to use the eventscript plugin it triggers things automatically such as choosing one of two radio buttons
August 25, 200520 yr 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.
September 2, 200520 yr 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)
September 2, 200520 yr 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