Hi
simple way:
change
$mform->addElement('checkbox', 'checkbox', get_string('I accept policy'));
to
$mform->addElement('checkbox', 'checkbox', 'I accept policy');
Normal way is:
add your string variable to language file
Hi
simple way:
change
$mform->addElement('checkbox', 'checkbox', get_string('I accept policy'));
to
$mform->addElement('checkbox', 'checkbox', 'I accept policy');
Normal way is:
add your string variable to language file