Hi there,
How can i add an additional dropdown field in all the questions types forms. This is an user requirement. Can it be done in a safe way?
Thanks in advance.
It could be done, and is not too dangerous until you want to upgrade do a new version of Moodle.
Well, in Moodle 2.0, you can tag questions, which would be a good way to implement this without any code. Just use tags for the extra information.
But I assume you want to do this in Moodle 1.9.
All the question type forms inherit from question_edit_form, so just add the dropdown there, and add a corresponding column to the mdl_question table. And then arrange to display the information in the extra column in the places you want it to be displayed.
Thank you so much for you help,
I got it working now
Greetings.
Hello,
I am trying to do the exact same thing. However, I am total new at moodle developing and everything seems chaotic.
would it be possible for you to share the code, or could i have some extended directions?
thank you in advance
Marigianna