Right click and 'Save' script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 01:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 02:00 AM
You need to create your own UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 02:05 AM
But there's the existed function already, I can update the form with clicking the save button.
And many users are using this function.
So I want to script on the save button, so that I can control the update operation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 02:03 AM
Instead of using the Save button which is present in oob global table, create a custom button (UI Action) and create custom script for this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2017 02:19 AM
The save button there is just a UI Action. Try navigating to System Definition -> UI Actions and filtering the list for records where Name is "Save" and Form Context Menu is true. On a fresh Personal Developer Instance I can see 26.
Some of these UI Actions are inherited by a lot of tables, so best practice (as suggested by others) is probably to override the UI Action for the table(s) you're interested in by creating new UI Actions that do what you want. You can override (replace) the existing UI Action by following the steps from this Docs page.