Auto populating data to new Contact from account

Hi All,

I use sugarcrm 7.9

I create new Contact. I would like to auto populating phone_fax of Account to new Contact.

I tried with this: SugarCRM: Populating fields using a Relate field « Sugar Developer Blog – SugarCRM 

I  created file ./custom/Extension/modules/Contacts/Ext/Vardefs/vardef.ext.php

with below content:


$dictionary['Contact']['fields']['phone_fax']['populate_list'] = array('id','name','phone_fax');

$dictionary['Contact']['fields']['phone_fax']['field_list'] = array('account_id_c','account_name','phone_fax');


After Quick Repair I got this:

What should I do more? (I would also like to fill phone fax to new contact)