Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Embedded Answers (Cloze) question type.

Talk:Embedded Answers (Cloze) question type

From MoodleDocs

The example doesn't work.

The question about Paris does not parse! --Howard Miller 05:50, 17 September 2008 (CDT)

I entered the example in HTML mode and made sure to remove all line breaks. The question did parse but the half wrong answer "Marseille" was regarded as 100% wrong and didn't show the provided feedback. --Frank Ralf 16:38, 21 September 2009 (UTC)
There was a slight mistake in the syntax. The equal sign (=) doesn't seem to work, so I put "%100%" in instead. The following code will work:


The capital of France is {1:SHORTANSWER:%100%Paris#Congratulations!
~%50%Marseille#No, that is the second largest city in France (after
Paris).~*#Wrong answer. The capital of France is Paris, of course.}.


Cloze Short answer.png
Amended the docs accordingly. --Frank Ralf 13:23, 22 September 2009 (UTC)
I posted another example in the German Moodle Docs. --Frank Ralf 11:02, 27 September 2009 (UTC)