How to auto fill a field from the client under which the contact is added.

How to auto fill a field from the client under which the contact is added.

For example the client name is added automatically when adding a contact to that client.