How to show the grouping Address values in detailView, detailView.tpl

HI All,

Based on the below example i converted the country textfield to dropdown.

# Convert the country text field in SuiteCRM to a drop-down list

Now i want to show the values of dropdown country in detailview, hence its showing the key value not showing the actual value.

And also i have added new field in the same group that also need to display in detailView.

Can anyone help to fix this. Thanks in Advance.

@arvnd86

You can check array “countries_dom” in app label list. It should has format:

“key_value”=>”actual_value”

HI,

In below code how to apply the option values
can any one suggestion please.

@arvnd86

The form editview use the array:

$app_list_strings['countries_dom']

from file ‘include/language/en_us.lang.php’ for drop down list. I checked the array. There are pair key and value in array which equal countries name. When you saved data the key wrote to DB. If you didn’t redefine the array you should see the countries name in the form detailview.

If I don’t understand you correctly, please show screenshots of forms editview and detailview.