Hi Guys,
I would like to change the Billing Country field from 'Textfield' to 'Dropdown' on an on-demand instance.
I have found some answers but are only applicable to an on-site instance.
How can I do this?
So far I have tried different php files using the Module Loader but is not working.
please find my script below:
<?php $manifest =array( 'acceptable_sugar_flavors' => array('CE','PRO','CORP','ENT','ULT'), 'acceptable_sugar_versions' => array( 'exact_matches' => array(), 'regex_matches' => array( 0 => '6\\.5\\.(.*?)', 1 => '6\\.7\\.(.*?)', 2 => '7\\.2\\.(.*?)', 3 => '7\\.2\\.(.*?)\\.(.*?)', 4 => '7\\.5\\.(.*?)\\.(.*?)', 5 => '7\\.6\\.(.*?)\\.(.*?)' ), ), 'name' => 'Textfield to Dropdown', 'description' => 'Converting Billing Country textfield to Dropdown Field', 'author' => 'myname', 'icon' => '', 'is_uninstallable' => true, 'published_date' => '2015-01-09 19:00:00', 'type' => 'module', 'version' => '1.0', ); $dictionary['Account']['fields']['billing_address_country']['type']='enum'; $dictionary['Account']['fields']['billing_address_country']['ext1']='countries_dom'; ?>
The module loads fine but there is no change after I quick repair.
what am i doing wrong?
Please advise.
Cheers
H