How Can I Force the Save Button to be Enabled?

The save button usually synchronizes to the state of the model, such that if it has not been dirtied, the button is disabled. There are cases in which it may be useful to control the state of the save button. For example, when a save should always/never be allowed.

To return a boolean indicating whether the save button should be enabled, define the function saveButtonEnablingOverride() on the TabMenu user exit file. You can simply return a literal boolean, or perform any desired processing to determine the return value.

Example:



function saveButtonEnablingOverride() {
  return false;
}