Thanks for ur reply,
I use that code but i am getting the following fatal error:
Fatal error: Call to undefined method MoodleQuickForm::set_data()
Greetings
Thanks for ur reply,
I use that code but i am getting the following fatal error:
Fatal error: Call to undefined method MoodleQuickForm::set_data()
Greetings
Your class extends moodleform?
extends \moodleform {
My class extends moodleform_mod, but i do the trick with javascript.