Hot Text Interaction

The QTI <hotTextInteraction> permits textual elements to be selected and highlighted. The underlying implementation of this interaction in TN8 is identical to the <customInteraction class="tei-texthighlighter" ...>.

Max Choices Message

There is now the option to customize the maxChoices-message that appears when too many choices have been selected. Below is an example message that will show
"Only select two cities"

<hottextInteraction maxChoices="5" responseIdentifier="RESPONSE" class="maxChoices-message:Only%20select%20two%20cities">

Minimum Choices

There is now an option to set the minimum amount of choices (minChoices) the student must make before the question is considered 'Answered', and until the minChoices have been met the item status will remain 'Not Answered'.

If minChoices is undefined, then the default is set to 1 and the item is considered answered if one choice exists.
If minChoices is specified as 0, then the item is also considered answered if only one choice exists.
If minChoices is any number greater than 1, the student must make that number of choices before the item is considered answered.

<hottextInteraction responseIdentifier="RESPONSE" minChoices="2">

Get Responses:[ Click Get Responses ]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" adaptive="false" identifier="VJ-hottext-3" timeDependent="false" title="Hot-Text-maxChoice greater than 1" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1  http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1.xsd">
  <responseDeclaration baseType="identifier" cardinality="multiple" identifier="RESPONSE">
    <correctResponse>
      <value>A</value>
	  <value>C</value>
	  <value>I</value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE">
    <defaultValue>
      <value>0</value>
    </defaultValue>
  </outcomeDeclaration>
  <itemBody>
    <rubricBlock view="candidate">
      <p>
        Select incorrect sentences.
      </p>
    </rubricBlock>
    
    <hottextInteraction maxChoices="5" responseIdentifier="RESPONSE">
      <p>
        King Solomon - Judge in personal disputes - <hottext identifier="A">Solomon was Kind of Israel.</hottext> <hottext identifier="B">In those days, one of the monarch's important duties was to serve as judge in personal disputes.</hottext><hottext identifier="C">One day, two woman come before Solomon, each claiming a children as their own:</hottext><hottext identifier="D">The fitst said, "My lord, this woman and I share the same house, and I gave birth to a child when she was there with me.</hottext><hottext identifier="E">bring</hottext><hottext identifier="F">On the third day after my baby was born, she too gave birth to a child.....No one else was with us in the house......</hottext><hottext identifier="G">During their knight her child died because she lay upon it.</hottext><hottext identifier="H">Then she arose in the middle of the night and took my child from my side while I slept, and laid the child in her bosom and put her dead child in my bosom.</hottext><hottext identifier="I">Thus when I arouse towards morning to nurse my child, behold, it was dead; but when me was able to examine it closely in the morning-light, it was not my son which I had borne."</hottext>       
      </p>
    </hottextInteraction>
  </itemBody>
  <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/>
</assessmentItem>

Select incorrect sentences.

King Solomon - Judge in personal disputes - Solomon was Kind of Israel. In those days, one of the monarch's important duties was to serve as judge in personal disputes.One day, two woman come before Solomon, each claiming a children as their own:The fitst said, "My lord, this woman and I share the same house, and I gave birth to a child when she was there with me.bringOn the third day after my baby was born, she too gave birth to a child.....No one else was with us in the house......During their knight her child died because she lay upon it.Then she arose in the middle of the night and took my child from my side while I slept, and laid the child in her bosom and put her dead child in my bosom.Thus when I arouse towards morning to nurse my child, behold, it was dead; but when me was able to examine it closely in the morning-light, it was not my son which I had borne."