Which event handler handles update button click event

Hi Guys,
I need to trigger an action when the update button is clicked in the doctype. Could somebody please help?
It appears when you check “allow on submit” in one of the fields of that doctype.