Auto populate title field with content from other fields

So to achieve something like this, I would have to override the update action (screenshot attached)?

Any examples out there to show me how to retrieve the data from other fields? I guess I’m having trouble finding examples in the documentation. They are a bit vague.