From the course: FileMaker Pro 12 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Using object-based triggers

Using object-based triggers - FileMaker Pro Tutorial

From the course: FileMaker Pro 12 Essential Training

Start my 1-month free trial

Using object-based triggers

The first set of triggers that we're going to take a look at are the object-based triggers. These are triggers that deal with layout objects, most specifically fields. Of course, any layout could have various different types of objects, for example, a tab control is an object, a graphic is an object, a button is an object, fields, field labels, and so on. These are a lot more subtle of a trigger than having to rely on a user to press a button, plus with these behind-the-scenes triggers, many of your scripts can run without even having to train the user to do something, and many times without them even knowing what's happening. All triggers will be added to an object while in Layout mode. So let's go into Layout mode in the Exercise File, and we're going to want to choose any object, so in this case a field. So for example, let's go over to the Notes field. The way that you access a script trigger is by selecting the layout object, and of course we have a field here, and right-clicking…

Contents