<font size=2 face="sans-serif">Aha, it seem that textEntry.text holds
the text ... so easy.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Peter Huppertz <peter.huppertz@baselgovernance.org></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Xerte discussion list <xerte@lists.nottingham.ac.uk></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">15.04.2009 12:17</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">RE: [Xerte] How to handle wrong text
entries</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">xerte-bounces@lists.nottingham.ac.uk</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif">Yes, I could add an onPageClose event
and evaluate the answers than. I can get the correct answers reading the
phrase attribute, but how can I get the values of the textfields (gaps).</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Peter</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=14%><font size=1 color=#5f5f5f face="sans-serif">From:</font><font size=3>
</font>
<td width=85%><font size=1 face="sans-serif">Patrick Lockley <Patrick.Lockley@nottingham.ac.uk></font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">"Xerte discussion list" <xerte@lists.nottingham.ac.uk></font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">15.04.2009 11:51</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">RE: [Xerte] How to handle wrong text
entries</font><font size=3> </font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">xerte-bounces@lists.nottingham.ac.uk</font></table>
<br><font size=3><br>
</font>
<hr noshade><font size=3><br>
<br>
</font><font size=3 color=blue face="Verdana"><br>
Maybe change how it works – don’t evaluate the answers until you have
to, then check the answers?</font><font size=3> </font><font size=3 color=blue face="Verdana"><br>
</font><font size=3> </font><font size=3 face="Tahoma"><b><br>
From:</b> xerte-bounces@lists.nottingham.ac.uk [</font><a href="mailto:xerte-bounces@lists.nottingham.ac.uk"><font size=3 color=blue face="Tahoma"><u>mailto:xerte-bounces@lists.nottingham.ac.uk</u></font></a><font size=3 face="Tahoma">]
<b>On Behalf Of </b>Peter Huppertz<b><br>
Sent:</b> 15 April 2009 10:28<b><br>
To:</b> Xerte discussion list<b><br>
Subject:</b> RE: [Xerte] How to handle wrong text entries</font><font size=3>
</font><font size=3 face="Times New Roman"><br>
</font><font size=3> </font><font size=3 face="Arial"><br>
Hi Patrick, <br>
<br>
see my remarks below:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
<br>
xerte-bounces@lists.nottingham.ac.uk wrote on 15.04.2009 11:15:03:<br>
<br>
> From:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> Patrick Lockley <Patrick.Lockley@nottingham.ac.uk></font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
> <br>
> To:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> "Xerte discussion list" <xerte@lists.nottingham.ac.uk></font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
> <br>
> Date:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> 15.04.2009 11:20</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> Subject:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> RE: [Xerte] How to handle wrong text entries</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
> <br>
> Sent by:</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> <br>
> xerte-bounces@lists.nottingham.ac.uk</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
> <br>
> Why not static the text field once the answer is correct?</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
<br>
I can do that, if there is no other solution. But making the TextField
static would already be an (unwanted) feedback.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
<br>
> Or give it a property called correct and once that is true don’t
add<br>
> any more scores?</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
<br>
I can do that, but I have to reset this property, if the user changes his
mind and thus changes the content of the gap. How can I detect this?</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
<br>
> </font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> I’m not that good at xwd stuff so I am not sure how easy that is.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
<br>
I think the xwd side of things is OK (so I can set the property to disable
the feedback and can get the value in Xerte).</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
<br>
Peter</font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
<br>
> </font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> From: xerte-bounces@lists.nottingham.ac.uk [</font><a href="mailto:xerte-"><font size=3 color=blue face="Courier New"><u>mailto:xerte-</u></font></a><font size=3 face="Courier New"><br>
> bounces@lists.nottingham.ac.uk] On Behalf Of Peter Huppertz<br>
> Sent: 15 April 2009 08:35<br>
> To: xerte@lists.nottingham.ac.uk<br>
> Subject: [Xerte] How to handle wrong text entries</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New"><br>
> </font><font size=3 face="Times New Roman"> </font><font size=3 face="Courier New"><br>
> Dear List, <br>
> <br>
> I use the Nottingham template as a base for my modifications. The
<br>
> template includes a gap fill exercise which uses the textEntry icon.<br>
> I want to expand the template to include scoring for right and wrong<br>
> fills. Also I want to disable the feedback, because the exercise is
<br>
> used for a placement test. The only feedback is shown at the end of
<br>
> the test like "You answered xx of yy questions correct".
<br>
> This is what I did: <br>
> - changed the .xwd to contain a checkbox for "Disable Feedback"
<br>
> - modified the gapfill.rml not to change the type of the textfield
<br>
> (from input to dynamic) if the above option is enabled (I don't want<br>
> to have the feedback) and disabled the feedback message <br>
> - added a score variable to the script which is played when the <br>
> entered text of the textEntry matches the phrase <br>
> This works all fine but I still have a problem: <br>
> - If the user fills in the correct phrase and than changes the entry<br>
> again it is still considered as correct. Even worse: if the user <br>
> changes the entry again to the correct value the answer is counted
again. <br>
> So my question is: How can I detect if the user changes the text <br>
> entry to a wrong value? Or perhaps there is another solution for my
<br>
> problem I haven't thought of? <br>
> <br>
> Peter_______________________________________________<br>
> Xerte mailing list<br>
> Xerte@lists.nottingham.ac.uk<br>
> </font><a href=http://lists.nottingham.ac.uk/mailman/listinfo/xerte><font size=3 color=blue face="Courier New"><u>http://lists.nottingham.ac.uk/mailman/listinfo/xerte</u></font></a><tt><font size=2>_______________________________________________<br>
Xerte mailing list<br>
Xerte@lists.nottingham.ac.uk</font></tt><font size=3 color=blue><u><br>
</u></font><a href=http://lists.nottingham.ac.uk/mailman/listinfo/xerte><tt><font size=2 color=blue><u>http://lists.nottingham.ac.uk/mailman/listinfo/xerte</u></font></tt></a><font size=3><br>
<br>
</font><tt><font size=2>_______________________________________________<br>
Xerte mailing list<br>
Xerte@lists.nottingham.ac.uk<br>
</font></tt><a href=http://lists.nottingham.ac.uk/mailman/listinfo/xerte><tt><font size=2>http://lists.nottingham.ac.uk/mailman/listinfo/xerte</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>