hi,
i created an edit_form.php with an select form.
$mform->addElement('select', 'config_cid', get_string('allusercourses', 'block_cm_summary'), $allusercourses, $attributes);
$mform->setDefault('config_cid', 'default value');
$mform->setType('config_cid', PARAM_TEXT);
How can i get the value of the array?
I tried
print_r($this->config->cid);
but this only prints the index of the array item and not the value.