<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
font-face
        {font-family:Verdana;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV id=idOWAReplyText68672 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>that's down to how you implement the logic in the .rlt file</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Patrick Lockley<BR><B>Sent:</B> Wed 15/04/2009 10:15<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] How to handle wrong text entries<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'">Why not static the text field once the answer is correct?</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'">Or give it a property called correct and once that is true don’t add any more scores?</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'">I’m not that good at xwd stuff so I am not sure how easy that is.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"></SPAN> </P>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Peter Huppertz<BR><B>Sent:</B> 15 April 2009 08:35<BR><B>To:</B> xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] How to handle wrong text entries</SPAN></P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Dear List,</SPAN> <BR><BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I use the Nottingham template as a base for my modifications. The template includes a gap fill exercise which uses the textEntry icon. I want to expand the template to include scoring for right and wrong fills. Also I want to disable the feedback, because the exercise is used for a placement test. The only feedback is shown at the end of the test like "You answered xx of yy questions correct".</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">This is what I did:</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">- changed the .xwd to contain a checkbox for "Disable Feedback"</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">- modified the gapfill.rml not to change the type of the textfield (from input to dynamic) if the above option is enabled (I don't want to have the feedback) and disabled the feedback message</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">- added a score variable to the script which is played when the entered text of the textEntry matches the phrase</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">This works all fine but I still have a problem:</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">- If the user fills in the correct phrase and than changes the entry again it is still considered as correct. Even worse: if the user changes the entry again to the correct value the answer is counted again.</SPAN> <BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">So my question is: How can I detect if the user changes the text entry to a wrong value? Or perhaps there is another solution for my problem I haven't thought of?</SPAN> <BR><BR><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Peter</SPAN></P></DIV></DIV></BODY></HTML>