<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:Wingdings;}
font-face
        {font-family:"Cambria Math";}
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;}
p
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
        {
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {
        color:purple;
        text-decoration:underline;}
span.ecxemailstyle181
        {
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.ecxemailstyle191
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle201
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle211
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle221
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle231
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle241
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle251
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle261
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle271
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle281
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle291
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle301
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle311
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle321
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle331
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle58
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle59
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle60
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle61
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle45
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle46
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {
        font-size:10.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV id=idOWAReplyText29092 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I don't know what score.toString() returns, but if you've got a way (or two) that do work, then we've got a result.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The stupid questions are the ones you don't ask! </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>The options allow you to only track the first score, or track the score as it is updated with repeat use.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</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 RonM<BR><B>Sent:</B> Mon 12/10/2009 18:07<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> Have you added the SCORM Tracking option to the quiz, from the optional properties at the top of the form? You should see options 'Track First Score' and 'Track Last Score'</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><feeling completely stupid> er no I wasn’t – I didn’t know it was there – but yes should have looked! </SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: Wingdings">L</SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></feeling completely stupid></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">So having set that option in each of my test files I’m now getting scores in the gradebook as follows:</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">_level0.setValue('cmi.core.score.raw', score);</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">_level0.setValue('cmi.core.score.raw', String(score));</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Both work.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">_level0.setValue('cmi.core.score.raw', score.toString());</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Doesn’t seem to work - for me anyway.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Testing with Moodle 1.9.4+</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Cheers</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Ron</SPAN></P>
<P class=MsoNormal><A name=_MailEndCompose><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></A> </P>
<DIV>
<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><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>Julian Tenney<BR><B>Sent:</B> 12 October 2009 11:53<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<DIV id=idOWAReplyText30023>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I’m assuming nothing needs adding to a quiz created using the template for it to work</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">OK, let's try that one more time...</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Have you added the SCORM Tracking option to the quiz, from the optional properties at the top of the form? You should see options 'Track First Score' and 'Track Last Score'</SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal> </P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><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 on behalf of RonM<BR><B>Sent:</B> Mon 12/10/2009 11:48<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Well my first test was prompted by your message at 13:42 on 30<SUP>th</SUP> Sept saying the quiz page type has the scorm code in. So I created a quick test file and it didn’t save the score in the moodle gradebook. So I then tried the newer model and the various code changes suggested in this thread – still doesn’t work.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I’m assuming nothing needs adding to a quiz created using the template for it to work but in the example attached I’ve manually added a test score and also taken the setValue out of the if statement in case that’s the bit not working – but still no score saved. It may not be Xerte and more to do with a moodle peculiarity but as I say a quick test with Captivate worked first time.</SPAN></P>
<P class=MsoNormal> </P>
<DIV>
<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><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>Julian Tenney<BR><B>Sent:</B> 12 October 2009 11:22<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<DIV id=idOWAReplyText60193>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">SIly question time - you have added the SCorm Tracking option t the quiz...?</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">My simple test her work fine. I can see data getting through to the SCORM RTE, so I don't think it's Xerte...</SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal> </P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><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 on behalf of Julian Tenney<BR><B>Sent:</B> Mon 12/10/2009 09:44<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV>
<DIV>
<DIV id=idOWAReplyText87579>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">what happens in the test suite?</SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal> </P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><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 on behalf of RonM<BR><B>Sent:</B> Sun 11/10/2009 23:36<BR><B>To:</B> 'Xerte discussion list'<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hi Julian</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I followed this thread with interest and finally found some time to do some testing, however no matter what I try I can’t get the quiz scores stored in the moodle gradebook. I’ve tried the model you attached on 30<SUP>th</SUP> Sept, I’ve tried the score.toString() method suggested below and I also tried manually setting the score to both “75” and 75 as you also suggested. None of these have worked and I’ve tested in both Moodle 1.9.5+ and an earlier version. I should clarify that I’m using a simple LO created with the Quiz page type and imported into moodle as a scorm object. I get asked quite often if the quizzes created with Xerte Online Toolkits communicate with the Moodle gradebook so it would be great to crack this. As a test I also created a quick quiz with Adobe Captivate and published as a 1.2 package and that tracked the score no problem so I’m at a loss as to what to try next. </SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Any ideas?</SPAN></P>
<P class=MsoNormal> </P>
<DIV>
<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><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>Julian Tenney<BR><B>Sent:</B> 08 October 2009 09:55<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I thought so. Always use the test suite to find out if the xerte package is at fault.</SPAN></P>
<P class=MsoNormal> </P>
<DIV>
<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>Marc Torruella Altadill<BR><B>Sent:</B> Thursday, October 08, 2009 9:07 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=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">This is a moodle issue, more tan xerte’s, moodle doesn’t fully recognize scorm 2004 yet, as far as I know.</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<DIV>
<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=ES style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">De:</SPAN></B><SPAN lang=ES style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 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> jueves, 08 de octubre de 2009 9:34<BR><B>Para:</B> 'Xerte discussion list'<BR><B>Asunto:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hello,</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I used the method toString() and worked fine in SCORM 1.2. I don’t get the error anymore and keeps the score too. </SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">The only problem is that in SCORM 2004 doesn’t keep the score. I tried to upgrade my moodle to 1.9.5+ and still doesn’t work.</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">--------------</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">score = Math.ceil(quizScoreTracking.sum() / quizScoreTracking.length * 100);</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">if (pageIcon.templateData.quiz[0].scorm == 'Track Last Score'){</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> _level0.setValue('cmi.core.score.raw', score.toString());</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">} else { //only track the first score</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> if (isNaN(_level0.getValue('cmi.core.score.raw'))){</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> _level0.setValue('cmi.core.score.raw', score.toString());</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> }</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">}</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<DIV>
<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=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EL 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>Dave Burnett<BR><B>Sent:</B> Tuesday, October 06, 2009 2:07 PM<BR><B>To:</B> Xerte list<BR><B>Subject:</B> RE: [Xerte] quizzes - Incorrect data type problem</SPAN></P></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm"><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'"><BR>To test it, add a temporary line below this one:<BR><BR></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">score = Math.ceil(quizScoreTracking.sum() / quizScoreTracking.length * 100);</SPAN><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'"><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.</SPAN></P>
<DIV style="MARGIN-LEFT: 36pt">
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm"><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">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</SPAN></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">score = Math.ceil(quizScoreTracking.sum() / quizScoreTracking.length * 100);</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">if (pageIcon.templateData.quiz[0].scorm == 'Track Last Score'){</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> _level0.setValue('cmi.core.score.raw', score);</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">} else { //only track the first score</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> if (isNaN(_level0.getValue('cmi.core.score.raw'))){</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> _level0.setValue('cmi.core.score.raw', score);</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'"> }</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">}</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EL 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=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">See attached for the latest one.</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 72pt"><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>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=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Is there a new quiz.rlm file as a result of this thread, and if so where can I obtain a copy?</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Kind regards</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Johnathan</SPAN></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Johnathan Kemp<BR>ICT Development Coordinator<BR>Connexions Staffordshire<BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'"><A href="http://www.cxstaffs.co.uk/"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'">www.cxstaffs.co.uk</SPAN></A><BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">01785 355714</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<DIV style="MARGIN-LEFT: 36pt">
<DIV style="MARGIN-LEFT: 36pt">
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN lang=EN-US>
<HR align=center width="100%" SIZE=2>
</SPAN></DIV></DIV></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt; MARGIN-RIGHT: 0cm"><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'"> 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></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">So you must have a folder called ‘models’ in your project?</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 108pt"><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>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=MsoNormal style="MARGIN-LEFT: 108pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 108pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">I have Xerte 2.6 </SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: Wingdings">J</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 108pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 108pt"><B><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EL 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=MsoNormal style="MARGIN-LEFT: 108pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 108pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Have you got the latest Xerte?</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 108pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 144pt"><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>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=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Hi Jullian</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 144pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 144pt"><B><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EL 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=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">I’ve asked for lots of things – don’t always get them! ;-) But that’s great going to test shortly!</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 144pt"><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>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=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Yes, the quiz one does. I thought you’d asked for that??</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 180pt"><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>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=MsoNormal style="MARGIN-LEFT: 180pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 180pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Hi Julian</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 180pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 180pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Cheers</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 180pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Ron</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 180pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 180pt"><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>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=MsoNormal style="MARGIN-LEFT: 180pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 180pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 180pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 216pt"><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>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=MsoNormal style="MARGIN-LEFT: 216pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 216pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">I use a template.rlt and I work with the template wizard</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 216pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 216pt"><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>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=MsoNormal style="MARGIN-LEFT: 216pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 216pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Are you using the templates in Xerte?</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 216pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 252pt"><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>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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Ok,</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">Sorry I cannot explain better, I use custom autolearned English </SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: Wingdings">J</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">.</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 252pt"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">De:</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>En nombre de </B>Apo</SPAN><SPAN lang=ES style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 252pt"><B><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EL 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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Verdana','sans-serif'">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 lang=EN-US style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: Wingdings">J</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 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: 252pt"><B><SPAN lang=ES style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">De:</SPAN></B><SPAN lang=ES style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Hello</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">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=MsoNormal style="MARGIN-LEFT: 252pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Thanks,</SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">Leo </SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EL><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=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN 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=MsoNormal style="MARGIN-LEFT: 252pt"><SPAN lang=EL><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=MsoNormal style="MARGIN-LEFT: 216pt"><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></P>
<P class=MsoNormal style="MARGIN-LEFT: 144pt"><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></P>
<P class=MsoNormal style="MARGIN-LEFT: 108pt"><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></P>
<DIV>
<DIV style="MARGIN-LEFT: 36pt">
<DIV style="MARGIN-LEFT: 36pt">
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 72pt">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</P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><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></P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<DIV style="MARGIN-LEFT: 36pt">
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EL style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'">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><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><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><BR><BR><BR>__________ Information from ESET NOD32 Antivirus, version of virus signature database 4483 (20091006) __________<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 4486 (20091007) __________<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></DIV></DIV></DIV></BODY></HTML>