Automatic field filling

p.konetskiy,
I tried to follow the solution you proposed but I didn’t quite understand if both files have to be modified, Vardef with:

 'displayParams' => 
            array (
              'field_to_name_array' => 
              array (
                'name' => 'account_name',
                'id' => 'account_id',
                'industry' => 'account_industry_c',
                'account_type' => 'account_type_c',
              ),
            ),

and custom/Extension/modules/Cases/Ext/Vardefs/account_name.php with:

$dictionary['Case']['fields']['account_name']['field_list']=
        array('account_name','account_id','account_industry_c','account_type_c');
$dictionary['Case']['fields']['account_name']['populate_list']=
        array('name','id','industry','account_type');

Or is it just the last modification I have to make?
In any case I’ve tried both, both modifying the two files and just the last one, but I don’t see any results, it’s likely that I’m doing something wrong, maybe in the variable assignment.

I have my custom module (let’s call it module_a), inside it is the link field to the Users module, in

custom/Extension/modules/module_a/Ext/Vardefs/_override_sugarfield_last_name_c.php

I have inserted your changes

$dictionary['module_a']['fields']['last_name_c']['field_list']=
        array('last_name_c');
$dictionary['module_a']['fields']['last_name_c']['populate_list']=
        array('name');