Home > Reference > Script triggers reference > OnObjectSave
OnObjectSave Triggers a script to run after object data has been validated and saved, but before the field is exited. When the script runs After the event has been processed. Modes in which the trigger can be used Browse and Find modes. Result You can use the Exit Script script step within the triggered script to return True or False. • True: The event that triggered the script proceeds. • False: The event that triggered the script is canceled, but the object is saved and the field that was active before the event that triggered the script remains active. Originated in FileMaker Pro 10.0 Notes • This script trigger activates only when the selected field data has been changed. • See Changing object data without activating script triggers for a list of actions that do not trigger a script. Related topics Setting up script triggers Setting script triggers for layouts Setting script triggers for objects