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: Difference between revisions

From MoodleDocs
Line 6: Line 6:




:<code>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.}.</code>
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.}.





Revision as of 13:35, 22 September 2009

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 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)