I have this code in a form:
'Provider' => array(
'type' => 'select',
'name' => 'Provider',
'caption' => _t("Provider"),
'values' => array (
'1' => 'admin',
'744492318' => 'User Name',
),
'db' => array (
'pass' => 'Xss',
),
),
What I would like to do is to populate the values of the select box from the Profile table. Would someone be so gracious as to tell me how to accomplish this.
Thanks