Quiz

 
 
Picture of Joseph Rézeau
Re: Matching and HTML in Answers
Group DevelopersGroup Particularly helpful MoodlersGroup TestersGroup Translators

No, this is not possible. In the Moodle Quiz activity,  the "answers" of matching questions (the items on the right) are displayed in drop-down lists. You can not format drop-down lists items, this is a limitation of drop-down lists in HTML, nothing to do with Moodle itself.

If you absolutely need to format the "answers" of a matching activity, you might consider using the Hot Potatoes software. See the Hot Pot forum for more details.

Joseph

 
Average of ratings:Useful (1)
Picture of Marcus Green
Re: Matching and HTML in Answers
Group Particularly helpful Moodlers

You can however include HTML when using the drag drop matching question type as illustrated in the following image where I have added the flag images.

 

 
Average of ratings:Useful (1)
Picture of Tzvi Daum
Re: Matching and HTML in Answers
 

Hi Marcus,

I appreciate the response. My problem with using anything outside of the Moodle core question types be it drag and drop or Hot Potatos (as Joseph suggested) is that I am worried that after future upgrades of Moodle these question types will not work without me restarting from scratch. I believe that is what happened after the upgrade to Moodle 2.0 where the question engine underwent a major revision. Plus, you are at the mercy of the maintainer if there is one. If I knew this question type would be added to the core Moodle, I would consider it.

 

Tzvi

 
Average of ratings:Useful (1)
Picture of Marcus Green
Re: Matching and HTML in Answers
Group Particularly helpful Moodlers

You are right to be concerned about the update of contributed questions Tzvi.  I have been making extensive use of the ddmatching question type for several versions of Moodle and there was a gap when it did not work with one version.

I was unaware that it would not work with 2.4 until you asked your question and that is going to make me shy of making that upgrade. I think it is unlikely to be added to the core at any point.

 
Average of ratings: -
Picture of Jean-Michel Védrine
Re: Matching and HTML in Answers
Group DevelopersGroup Particularly helpful Moodlers

Hello Marcus,

the drag and drop matching question is not ready for Moodle 2.4 that Tzvi is using. See my message asking for help in the developer's forum.

 
Average of ratings:Useful (1)
Picture of Tzvi Daum
Re: Matching and HTML in Answers
 

Thank you Joseph for the clear and definitive response!

Tzvi

 
Average of ratings: -