Can JCloze be a first-answer only test?

Re: Can JCloze be a first-answer only test?

by Gordon Bateson -
Number of replies: 0
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hmm, well you could try this:

  • open the HTML version of the the quiz file with your favorite text editor (e.g. Notepad++ on Windows, or TextWrangler on Mac)
  • locate the following line in the "CheckAnswers" function:
    AllCorrect = false;
  • Change the above line to:
    AllCorrect = true;
  • save the file and upload it again to Moodle

If you want all your JCloze to behave in this way, then locate the following file on your Moode site ... 

  • mod/hotpot/attempt/hp/6/templates/jcloze6.js_

... and make the change as described above.

regards
Gordon