Leveraging Script Triggers
FileMaker's script triggers can be problematic if you don't properly test and debug the user interaction flow. Some developers, perhaps even yourself, avoid script triggers for this reason.
However, script triggers can be incredibly useful. Unlike JavaScript in the Web Viewer or other environments (anyone remember HyperCard or Adobe Flash?), which have numerous possible events, FileMaker offers a limited set of events called Script Triggers.
One of the best aspects of Script Triggers is that they are linked to specific objects, areas, or actions. This differs from writing scripts that must handle various conditions and situations. With Script Triggers, you can make a particular area of FileMaker function autonomously, handling its own tasks. The first step to feeling comfortable with Script Triggers is learning how to manage them when you don't want them to execute.
In this video, I revisit a database created in 2010, which remains valuable for learning what Script Triggers can do. Let's walk through a concrete example of how you can rethink your use of Script Triggers.
Comments
Can't download Script Triggers Reference
Hi Matt - each time I click on the reference link I get a 'flash' effect in my browser but no download. Could you check the download is availble?
HTTP - Not HTTPS
There are some browsers, like Chrome which will not download an http link from the same https link. I've not moved the file from another server. Try this link.
Chrome or other browsers may either prompt you or ask if you want to keep the file.
http://tools.filemakermagazine.com/triggers/ScriptTriggers.zip
-- Matt Petrowsky - ISO FileMaker Magazine Editor
I cannot download the video
whatever the rsoultion I choose but thanks to your strange link I succeeded to download the zip file.
Help! ))
Regards
Bernard