On his behalf 代表他

 I answered the question on his behalf.