I have 2 checkboxs:
$mform->addElement('advcheckbox', 'test1', 'Test 1', null, array('group' => 1));
$mform->addElement('advcheckbox', 'test2', 'Test 2', null, array('group' => 1));
$this->add_checkbox_controller(1);
I want those 2 checkboxs to be part of a group, how can I add a title before those 2 options?