Hello To All,
Is there a way to retrieve the option values and label for a field programmatically? Something like bean and retrieve or are the options for a field saved in a database? I wanted to get the options and labels for Lead Source and Lead Status.
Thank you in advance
(or your own language file if you installed a language pack)
The arrays are called “lead_source_dom” and “lead_status_dom”
This variable $app_list_strings should be accessible n PHP from everywhere in the app:
$options = $app_list_strings['lead_source_dom'];
Thank you very much. For others who are having the same problem here it is.
if you print_r($GLOBALS[‘app_list_strings’]) you will get the different dropdown option values and labels.