You are here: Home » Tutorials » Tips-Tricks » Extra Options in JCloze drop-down

Extra Options as Distractors in JCloze drop-down

Posted by Stan Bogdanov on 27 April 2008 - 21:01

Introduction

You are creating your drop-down Cloze and you want more/extra options as distractors. For example, you have three, but you want five options in the drop-down menu. See the drop-down menu in this demo.

JCloze doesn't offer this functionality. It turns each gap in a drop-down option. Therefore, you can't have extra options. See the screenshot below.

Step 1

Here's a trick with a little Copy-Pasting. Create your drop-down cloze exercise as usual in JCloze and open the .htm file in a text or HTML Editor. Find this code (yours will not look exactly the same)
<option value=""></option>
<option value="Dropdown 1">Dropdown 1</option>
<option value="Dropdown 2">Dropdown 2</option>
<option value="Dropdown 3">Dropdown 3</option>

Step 2

Now add as many more distractors as you need. (Replace 'Extra option 1' and 'Distractor 2' with your own.)
<option value=""></option>
<option value="Dropdown 1">Dropdown 1</option>
<option value="Dropdown 2">Dropdown 2</option>
<option value="Dropdown 3">Dropdown 3</option>
<option value="Extra option 1">Extra option 1</option>
<option value="Distractor 2">Distractor 2</option>

Repeat this for each set of options that you find. (Make sure all this code runs as a single line!)
That's it. Save the file and view the result. The extra options/distractors appear in the drop-down menu. They will be selectable and the scoring system will work ok.

Rate this:

  • Currently2.87174348697/5 Stars
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 998

Share it:

              Windows Live

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code: