1 <!-- true or false question (aka multiple choice with two choices) -->
2 <item title="True or False question" ident="ITEM_<?php echo $this->row['question_id']; ?>">
6 <fieldlabel>qmd_itemtype</fieldlabel>
7 <fieldentry>Logical Identifier</fieldentry>
12 <fieldlabel>qmd_questiontype</fieldlabel>
13 <fieldentry>True/false</fieldentry>
20 <mattext texttype="text/html"><?php echo $this->row['question']; ?></mattext>
22 <response_lid ident="RESPONSE<?php echo $this->row['question_id']; ?>" rcardinality="Single">
23 <render_choice shuffle="No">
24 <response_label ident="ChoiceT">
27 <mattext texttype="text/html"><?php echo _AT('true'); ?></mattext>
31 <response_label ident="ChoiceF">
34 <mattext texttype="text/html"><?php echo _AT('false'); ?></mattext>
46 <respcondition title="CorrectResponse">
48 <varequal respident="RESPONSE<?php echo $this->row['question_id']; ?>">
50 if ($this->row['answer_0'] == 1) {
58 <setvar varname="que_score" action="Set"><?php echo (isset($this->row['weight']))?$this->row['weight']:1; ?></setvar>
61 <?php if ($this->row['feedback']): ?>
62 <itemfeedback ident="FEEDBACK" view="All">
67 <mattext texttype="text/html"><?php echo $this->row['feedback']; ?></mattext>