How to populate dropdown value from related module’s dropdown value
By Amer Wilson
Hey there, are you looking for options to populate the dropdown value from related module’s dropdown value, you call for the basic knowledge of coding for this. In case you possess it, the answer is correctly here:
1. Go to Custom Extension.
2. Open the Modules folder.
3. Choose your desired module directory.
4. Pass to Ext/Vardef and place a PHP file there comprising this code:
$dictionary['Contact']['fields']['account_type_c'] = array(
'name' => 'account_type_c',
'dbType' => 'non-db',
'source' => 'non-db',
'type' => 'relate',
'vname' => 'LBL_ACCOUNT_TYPE',
'link' => 'accounts',
'module' => 'Accounts',
'rname' => 'account_type',
'studio' => 'visible',
For a reference, you can have a look at these documents: