<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>To test it, add a temporary line below this one:<br><br><span style="color: rgb(31, 73, 125);" lang="EN-US">score =
Math.ceil(quizScoreTracking.sum() / quizScoreTracking.length * 100);</span><br><br>score = "75"<br><br>That will test if the system is looking for a string value.<br><br>If that doesn't work try <br><br>score = 75<br><br><br>If the first one works, the system wants the value in a string type.<br><br>If the second one works, you may have to round the score, as it may want an integer.<br><br><br><br><br><hr id="stopSpelling">From: leoapost@mastgroup.gr<br>To: xerte@lists.nottingham.ac.uk<br>Subject: RE: [Xerte] quizzes - Incorrect data type problem<br>Date: Tue, 6 Oct 2009 13:42:43 +0300<br><br>
<style>
.ExternalClass .ecxshape
{;}
</style>
<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle18
{font-family:'Calibri','sans-serif';color:windowtext;}
.ExternalClass span.ecxEmailStyle19
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle20
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle21
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle22
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle23
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle24
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle25
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle26
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle27
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle28
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle29
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle30
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle31
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle32
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass span.ecxEmailStyle33
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</style>
<div class="ecxSection1">
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">I have found this
script in my rlo file but I don’t know if it’s ok.. does anyone
know?</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">score =
Math.ceil(quizScoreTracking.sum() / quizScoreTracking.length * 100);</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">if
(pageIcon.templateData.quiz[0].scorm == 'Track Last Score'){</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">
_level0.setValue('cmi.core.score.raw', score);</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">} else { //only track
the first score</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> if
(isNaN(_level0.getValue('cmi.core.score.raw'))){</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">
_level0.setValue('cmi.core.score.raw', score);</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> }</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">}</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span 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>Julian Tenney<br>
<b>Sent:</b> Thursday, October 01, 2009 2:58 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">See attached for the
latest one.</span></p>
<p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> Thursday, October 01, 2009 12:37 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif'; color: blue;" lang="EN-GB">I am busy
finishing off the testing of a set of Xerte models based on a re-working of the
.rlm files so that the models can be used individually in Xerte, outside of
page templates.</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"></span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif'; color: blue;" lang="EN-GB">Is there a
new quiz.rlm file as a result of this thread, and if so where can I obtain a
copy?</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"></span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif'; color: blue;" lang="EN-GB">Kind
regards</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"></span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif'; color: blue;" lang="EN-GB">Johnathan</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"></span></p>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
</div>
<p style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';" lang="EN-GB">Johnathan Kemp<br>
ICT Development Coordinator<br>
Connexions Staffordshire<br>
</span><span lang="EN-GB"><a href="http://www.cxstaffs.co.uk/"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">www.cxstaffs.co.uk</span></a><br>
</span><span style="font-size: 10pt; font-family: 'Arial','sans-serif';" lang="EN-GB">01785
355714</span><span lang="EN-GB"></span></p>
<p style="margin-left: 36pt;"><span lang="EN-GB"> </span></p>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"> </span></p>
<div style="margin-left: 36pt;">
<div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-US">
<hr size="2" width="100%" align="center">
</span></div>
</div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> Julian Tenney
[mailto:Julian.Tenney@nottingham.ac.uk] <br>
<b>Sent:</b> 01 October 2009 11:12<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-US"></span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">So you must have a folder called ‘models’ in
your project?</span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Apostolidis
Leonidas<br>
<b>Sent:</b> Thursday, October 01, 2009 10:44 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">I have Xerte 2.6 </span><span style="font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">J</span><span style="color: rgb(31, 73, 125);" lang="EN-US"></span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span 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>Julian Tenney<br>
<b>Sent:</b> Thursday, October 01, 2009 12:05 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"> </p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Have you got the latest Xerte?</span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 108pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Apostolidis
Leonidas<br>
<b>Sent:</b> Thursday, October 01, 2009 10:04 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">Hi Jullian</span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">There isn’t any rlm file or models folder in my
files. Am I doing anything wrong? How can I test your attached file?</span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">I noticed also that if I export the lesson in scorm 2004
format I don’t get the error but the grades remain 0.</span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 108pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span 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>RonM<br>
<b>Sent:</b> Wednesday, September 30, 2009 4:40 PM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 108pt;"> </p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">I’ve asked for lots of things – don’t
always get them! ;-) But that’s great going to test shortly!</span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><a name="_MailEndCompose"></a><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 108pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 30 September 2009 13:42<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Yes, the quiz one does. I thought you’d asked for
that??</span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 144pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk]
<b>On Behalf Of </b>RonM<br>
<b>Sent:</b> Wednesday, September 30, 2009 1:40 PM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Hi Julian</span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Does that mean the quiz page template does actually send
scores? I was under the impression there wasn’t any score tracking built
in to that template.</span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Cheers</span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Ron</span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 144pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 30 September 2009 13:29<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Can you swap your quiz.rlm for thoe one attached and see
if it sorts the problem out? It goes in the models folder alongside your rlt. I
was sending a number from Xerte. I’m pretty sure all the SCORM functions
need strings…?</span></p>
<p class="ecxMsoNormal" style="margin-left: 144pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 180pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Apostolidis
Leonidas<br>
<b>Sent:</b> Wednesday, September 30, 2009 10:23 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">I use a template.rlt and I work with the template wizard</span></p>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 180pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> Wednesday, September 30, 2009 11:28 AM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span lang="EN-US"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Are you using the templates in Xerte?</span></p>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span style="color: rgb(31, 73, 125);" lang="EN-GB"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 216pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Marc Torruella
Altadill<br>
<b>Sent:</b> Wednesday, September 30, 2009 7:51 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-GB"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">Ok,</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">That depens on the package. In our case, we call de scorm
functions (setValue, getValue) from our custom interface, an swf. If is the
same with your package, you’ll need the .fla file with the code, not
enough with the compiled .swf file.</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">But it’s possible de scorm functions are called
from your .rlo file instead, so install Xerte and edit your .rlo file, and look
for the two functions I mentioned before on the script pages.</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">Sorry I cannot explain better, I use custom autolearned
English </span><span style="font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">J</span><span style="color: rgb(31, 73, 125);" lang="EN-US">.</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 216pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">De:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>En nombre de </b>Apo</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="ES">stolidis Leonidas<br>
<b>Enviado el:</b> martes, 29 de septiembre de 2009 16:29<br>
<b>Para:</b> 'Xerte discussion list'<br>
<b>Asunto:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="ES"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">To be honest I didn’t create the packages. I
don’t know many things about the creation of scorm packages and xerte.
Can you please tell me how can I check what value is passing in setValue
function?</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 216pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span 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>Marc
Torruella Altadill<br>
<b>Sent:</b> Tuesday, September 29, 2009 5:05 PM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 216pt;"> </p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US">Are you sure you are passing the correct value to the
setValue function? It expects a number I guess and maybe he gets a null or a
string, whatever, check your code </span><span style="font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">J</span><span style="color: rgb(31, 73, 125);" lang="EN-US"></span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 216pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="ES">De:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="ES">
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>En nombre de </b>Apostolidis
Leonidas<br>
<b>Enviado el:</b> martes, 29 de septiembre de 2009 15:34<br>
<b>Para:</b> xerte@lists.nottingham.ac.uk<br>
<b>Asunto:</b> [Xerte] quizzes - Incorrect data type problem</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="ES"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US">Hello</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US">I use moodle
1.9.4 and xerte 2.0 to produce scorm packages and I’m having a
little problem with the quizzes. I want to keep the score but when I’m
answering the questions and hit the submit button I get the error
“Incorrect data type” and the score remains 0. Can anyone
help me?</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US">Thanks,</span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span lang="EN-US">Leo </span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4467 (20090929) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="ES"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4467 (20090929) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4467 (20090929) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<p class="ecxMsoNormal" style="margin-left: 216pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4467 (20090929) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<p class="ecxMsoNormal" style="margin-left: 180pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4468 (20090929) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4470 (20090930) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4470 (20090930) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4471 (20090930) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4471 (20090930) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4471 (20090930) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
<div>
<div style="margin-left: 36pt;">
<div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB">This email and
any files transmitted with it are confidential and are intended solely for the
use of the individual(s) or entity(s) to whom they are addressed. All messages
are monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is reserved
to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify
postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in
England No.4355170 Registered office: Foregate House, 70 Foregate Street,
Stafford, Staffordshire, ST16 2PX</span></p>
</div>
<p class="ecxMsoNormal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';" lang="EN-GB"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4472 (20091001) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4472 (20091001) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4482 (20091005) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span></p>
</div>                                            <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/171222986/direct/01/' target='_new'>Get it now.</a></body>
</html>