Hi,
I know it is March 2011 and I am too late for this reply but I cant help it because I started using sugar 5 months back.
Well, I am also using v 5.2.0j CE and I was able to make address fields required. SMARTY template at \include\SugarFields\Fields\Address\en_us.EditView .tpl explains how to show required symbol. We have to use 'required' => array('billing_address_street','billing_address_ci ty','billing_address_state','billing_address_posta lcode'),
instead of just 'required' => true
Here is what I did.
1) edit (copy & paste modules\Accounts\metadata\editviewdefs.php if you don't have it) at custom\modules\Accounts\metadata\editviewdefs.php to
PHP Code:
'lbl_address_information' =>
array (
0 =>
array (
0 =>
array (
'name' => 'billing_address_street',
'hideLabel' => true,
'type' => 'address',
'displayParams' =>
array (
'required' => array('billing_address_street','billing_address_city','billing_address_state','billing_address_postalcode'),
'key' => 'billing',
'rows' => 2,
'cols' => 30,
'maxlength' => 150,
),
'label' => 'LBL_BILLING_ADDRESS_STREET',
),
then do quick repair and rebuild.
I hope this helps someone.
Thanks,
Nitin
Bookmarks