Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
/*
Demonstrate retrieving custom field options
*/
function contact_getfields_example(){
$params = array(
'options' => array(
'get_options' => 'custom_1',
),
'version' => 3,
'action' => 'create',
);
'custom_1' => array(
'label' => 'Country',
'groupTitle' => 'select_test_group',
'data_type' => 'String',
'html_type' => 'Select',
'text_length' => '',
'options_per_line' => '',
'extends' => 'Contact',
'is_search_range' => 0,
'extends_entity_column_value' => '',
'extends_entity_column_id' => '',
'is_view' => 0,
'is_multiple' => 0,
'option_group_id' => '80',
'date_format' => '',
'time_format' => '',
'options' => array(
'1' => 'Label1',
'2' => 'Label2',
),
),