SugarCRMカスタムフィールド-カスタムドロップダウンメニュー
1381 ワード
(1) :
\custom\include\language\zh_cn.lang.php
$app_list_strings[' ABC'] = array (
'' => '',
'B' => ' ',
'C' => ' ',
'A' => ' ',
);
:$app_list_strings[' ABC'] ABC
"=>" -- --
'' => '', '' => '', -- --
(2)
(html)
<
select
name
='F1_c'
>
{F1_OPTIONS}
</
select
>
: F1_OPTIONS
(php)
$xtpl->assign("F1_OPTIONS", get_select_options_with_id($app_list_strings[' ABC'], $focus->F1_c));
: $app_list_strings
$app_list_strings[' ABC']
$focus->F1_c