[LON-CAPA-users] Option Response hints

Mark Lucas lon-capa-users@mail.lon-capa.org
Wed, 12 Nov 2008 16:06:12 -0500


Does anyone want to offer some advice on the optionhint tag?

When I used it as follows, I got both hints showing up at the same time
when only one matched up. If I got Foil1 wrong but Foil 2 correct, I got
both hints.


<problem><startouttext />Type Question Here.<endouttext />
<optionresponse max="10" randomize="yes" TeXlayout="horizontal">
    <foilgroup options="('True','False')">
<foil name="Foil1" value="True" location="random">
<startouttext />This is foil One. It is currently set to
"True."<endouttext />
<foil name="Foil2" value="False" location="random">
<startouttext />This is foil Two. It is currently set to
"False."<endouttext />
<foil name="Foil3" value="True" location="random">
<startouttext />This is foil Three. It is currently set to
"True."<endouttext />
    <hintgroup showoncorrect="no"><startouttext /><endouttext />
<optionhint name="Wrong1" answer="False" concept="Foil1">
<optionhint name="Wrong2" answer="True" concept="Foil2">
<hintpart on="Wrong1">
    <startouttext />You got Foil1 wrong - it should be True.
<br/><endouttext />
<hintpart on="Wrong2">
    <startouttext />You got Foil2 wrong - it should be False.
<br/><endouttext />
<hintpart on="default">
<startouttext/> Generic Hint<endouttext/>

Mark Lucas                                      email: lucasm@ohiou.edu
252D Clippinger Lab                             phone: (740)597-2984
Department of Physics and Astronomy             fax:   (740)593-0433
Ohio University
Athens, OH 45701