I am planning to do something like below:
- Create a custom detail page button to replace the save button.
- When user clicks the button to save a record it should execute the standard save method after setting certain additional fields on the object apart from the others set by users.
What will be the best way to do this without using visualforce page?