OnRecordCommit
Triggers a script to run before a record that has been changed is committed.
Actions that cause a record to be committed include:
 •
 •
 •
 •
 •
 •
When the script runs
Before 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.
 •
 •
Originated in 
FileMaker Pro 10.0
Notes
 •
Moving from record to record inside a portal does not cause a commit; those changed records are committed when the focus leaves the main record to which they are related.
 •
 •
 •
See Changing object data without activating script triggers for a list of other actions that do not activate this script trigger.
Related topics 
Setting up script triggers
Setting script triggers for layouts
Setting script triggers for objects