Having difficulties getting the value(s) returned from an advanced check box. Can anyone shed any light, or share an example of it in use. I've read the documentation and not getting anywhere close.
Can you share an example of what you're trying to do? I dont recall it being any more complicated than:
$mform->addElement('advcheckbox', 'yourname', get_string('label'), '', , ['uncheckedvalue', 'checkedvalue']);
in the definition, then
$data = $form->get_data(); $data->yourname; // This is the value of the checkbox.