public function definition_after_data() {
        $mform = $this->_form;

        if ($userfullnames = $mform->getElementValue('userfullnames')) {
            $mform->getElement('selectednames')->setValue(\html_writer::span($userfullnames, 'selectednames'));
        }
    }
public function definition_after_data() {
        $mform = $this->_form;

        if ($userfullnames = $mform->getElementValue('userfullnames')) {
            $mform->getElement('selectednames')->setValue(\html_writer::span($userfullnames, 'selectednames'));
        }
    }
public function definition_after_data ( ) { $ mform = $ this -> _form ; if ( $ userfullnames = $ mform -> getElementValue ( 'userfullnames' ) ) { $ mform -> getElement ( 'selectednames' ) -> setValue ( \ html_writer :: span ( $ userfullnames , 'selectednames' ) ) ; } }
This method implements changes to the form that need to be made once the form data is set.
This method implements changes to the form that need to be made once the form data is set .