Hi,
unless you have the source code it is not possible to change this behavior. Even if you had the source code, it would be really difficult to override appropriate method because this behavior is managed deeply in the system.
You could create a custom
form control and add it to your custom document type to store your calculations. In definition of document type the field of your custom form control type has to have checked option
Display attribute in the editing form in case it should work with data set in the other fields. To hide it in the Form tab you can use css. It means you can set
Caption style: and
Input style: to
display:none; in definition of your custom field in document type -
Fields tab.
Now to update fields you could you
custom tree node handler and manage update of your custom field in OnAfterInsert method.
Alternativelly, you could get the value of another field directly in the form control. For inspiration you could take a look at
~/CMSModules/Content/FormControls/Tags/TagSelector.ascx.cs - public int GroupId property, which is set based on value of another field.
Best regards,
Ivana Tomanickova