Navigation: Javascript API > Events for user forms
OnSave
Scripts and functions defined here are executed when a dialog is saved.