Navigation: Javascript API > Events for user forms
OnAssignConfirm
Scripts and functions defined here are executed when an assignment dialog is confirmed.
If the script returns the script return the value false, the assignment is not executed.