I'd love this option too. I am outputting to both Moodle and want to publish to CDROM with the quiz and certificate at the end of the course, which will give me to products from one course.
With Moodle, I add the course in as an activity then prompt student to close and go back to Moodle to complete the quiz and generate the certificate, but for CDROM, I'd also love a simple solution of 'print certificate'. Upgrade option please!
I'm new here so please forgive me if this is a stupid question. I watched Jeanette's screenr and have changed the 'Print Results' button to read 'Print Certificate'.
However, the problem is that the text on the results screen in the quiz still reads: 'To print your results, click the 'Print Results' button'. This no longer makes sense as the button is no longer called 'Print Results'.
I noticed that Jeanette had been able to customise her results screen on her presentation, but I can't seem to find any instructions anywhere on how to do this. Can anyone point me in the right direction?
I think you should be able to edit that after publishing by editing the "goodbye.html" file. This is the same file that many people customize to look like a certificate. After publishing go to Data>LMS> and you will find the goodbye.html file you are looking for. Hope that helps.
Hi Krystlie, If you just want to change the word on the pass/fail results slides yiu can do this in slide view and just change the text to read print certificate.
Thanks Sue, I tried this but it doesn't change the default text that reads: 'To print a certificate, press the Print Results button'. The pass screen only allows me to insert extra text before this default instruction. Hmmm... Does anyone know where the goodbye.html file is for courses not published to LMS format?
We have successfully used this approached modifing the report.html and adding an image at the header and footer of our print certificate. This worked for us in Internet Explorer 8, but now that we are using Internet Explorer 9, only the header and footer images show up to print. It will also display correctly if we use Mozilla Foxfire browser.
Does anyone have an idea or suggestion on what can be done to have the print window display all the certificate contents in IE9?
Thanks for your suggestions, Joe and Louise, but I think I need to clarify my question... I was able to create a custom certificate no problem. And then I followed Jeanette's Screenr to change the 'Print Results' button to a 'Print Certificate' button.
However, I now need to change the final screen of the quiz - see screenshot. As you can see, I've changed the 'Print Results' button to a 'Print Certificate' button. But the wording above it still reads: 'To print your results, click the 'Print Results' button'. Therefore I need to change this wording to: 'To print your certificate, click the 'Print Certificate' button'.
I've tried editing the 'Pass result' screen, but this does not allow me to customise this text. See attached screenshot.
I hope someone can help. The Screenr by Jeanette was very helpful, but I wonder how other people have overcome this resultant issue.
I have followed the instructions to customise the report.html (http://www.articulate.com/support/quizmaker09/kb/?p=353), I have managed to add a print certificate button and other variables (such as the passing score in the customised report.html)
Now I would like to put a background (color, stample, etc on which the results appear). Do you know how to do that? In the customised report (http://www.articulate.com/support/quizmaker09/kb/?p=353) there is a picture, but that is above the results. I'd like to add a picture as background. Which html code do I need to use in the customised report to obtain that?
Hi, I have looked at all of the posts on this subject and feel I need to add my intrest to having certificates into the mix. I am brand new to Articulate and have just started to explore the Quizmaker software, I am impressed with it but a little more than disappointed with the lack of a usable certificate/s. I have modified the report.html but it is still not fancy enough and I am not that familiar with coding. Are there any plans to add this valuable addition to Quizmaker as the pressure is on to have a certificate my boss will accept and at the moment it does not cut the mustard. I have done pretty much what Tomasso above me has done but need some help and or information to complete my task (and make my boss less grumpy)
Thanks in advance for any help or advice that can be given.
OK - Here's some AS2 Code that will pull your student data and completion data into a variable set:
import flash.external.ExternalInterface;
var getScore = ExternalInterface.call("parent.GetScore"); var getStudentName = ExternalInterface.call("parent.GetStudentName"); var getStatus = ExternalInterface.call("parent.GetStatus");
If you use the getStatus value to check the status of the module you'll probably see a value of 4 if the module isn't complete and a 2 if the module is complete. Adding a conditional variable you'll be able to display a custom message or view for those that access the certificate before completion.
The attached SWF shows how this works when deployed to your LMS (It's not pretty
Hi Steve,
Thanks for posting that. I'm really interested in using this code. I'm sure I saw a tutorial or reply that talked about displaying other data from SCORM - like the course title. Do you know of any samples? If you could post the .fla that would be awesome!
Our Company requires the employee's payroll number to be on all training documentation. When the student successfully passes the assessment, he/she is directed to enter his/her name and his/her payroll number. The next screen is basically template with the course name, certificate of completion and the person's name/payroll number. I used the data entry option and assigned it a variable. On the certificate, I put a text box and click on "REFERENCE" and choose the assigned variable
Not being fluent in HTML, I was pretty excited yesterday when I figured out how to change the font, font size, and color of the text generated by the program. This makes the certificate look so much nicer. I went to section //2 and changed all the font-families to my chosen font. I also changed the font size for H1 and H2 to make it larger. In secton //9 you can see what parts of the text use those font sizes. I'll paste the whole code below. Please note - we don't use an LMS. I'll also post a picture of the certificate that results from the code.
Also, I didn't need to do any special coding to have Articulate prompt for the name of the quiz taker. If you open up the quiz and click on Pass Result, all you have to do is check the boxes "Allow user to print results" and "Prompt the user for their name before printing."
I customized the Pass Results slide in slideview to refer to the printing of the certificate (not a report). I also wanted the results to be emailed but had trouble getting the email subject and text to include capital letters when working in Quizmaker. The work around was to add a slide after the quiz in Presenter and include a hyperlink for an email on that slide. I didn't want people who failed the quiz to see that email slide, so I hide that slide using Slide Properties and in the Quizzes and Interactions box when the user passes the finish button it only directs users who pass to that slide.
//WELCOME TO THE REPORT.HTML SOURCE FILE THIS IS THE FULL SOURCE FILE WITH ALL FIELDS SHOWING FOR ADDRESS CONFIDENTIALITY PROGRAM COURSE
//
//Here you can edit certain word strings like "JANUARY" or remove a line altogether so that the information does not appear in the final quiz results page. WARNING Be very careful when editing this page. Only edit the strings where indicated. To remove a line, do NOT remove it. Just place // at the beginning of the line. This effectively tells the computer to ignore that line.
//For example, to remove the Correct Answer column, you need to place // at the beginning of the Correct Answer Header line and the Correct Answer Body line. David Moxon. Articulate
This is very useful information. I have a unique requirement regarding the certificate generation. I want to store the certificate in a database once a user completes the course or clears an assessment. Please let me know is this feasible.
Thanks to those preceeding for your instructions on creating a certificate from the report html. I have followed the code above, but when I print the certificate it only shows the images and not the string of text within. I am not sure why. Code is same as far as I can see other than the specific text and image variations. Have posted here in case anyone can see a glaring issue! I use firefox as my browser.
I gather there is no way at this point to prevent a guest user printing multiple certificates from the one quiz result and populating with a new name each time? Whilst I would wonder why one would do that, I have known it to happen with the quiz results printout! I understand that only the original guest details will upload to AO once submitted but multiple certs can be generated with different names.
I currently pull a CSV dataset, clean it and upload it into another program to generate and dispatch certificates. I am hoping to find a way to cut this workload out as I often give out 500-1500 certs at the beginning of each month! This is growing with each new module I add to our online education program.
Any help with this particular code issue would be fab - thanks in advance!
//WELCOME TO THE REPORT.HTML SOURCE FILE THIS IS THE FULL SOURCE FILE WITH ALL FIELDS SHOWING // //Here you can edit certain word strings like "JANUARY" or remove a line altogether so that the information does not appear in the final quiz results page. WARNING Be very careful when editing this page. Only edit the strings where indicated. To remove a line, do NOT remove it. Just place // at the beginning of the line. This effectively tells the computer to ignore that line.
//For example, to remove the Correct Answer column, you need to place // at the beginning of the Correct Answer Header line and the Correct Answer Body line. David Moxon. Articulate
var g_arrMonths = new Array()
// Enter the month names below //1. EDIT THE LETTERS IN QUOTES TO CHANGE THE LANGUAGE OF YOUR DATE
// Enter the column headers //2. EDIT THE WORDS IN QUOTES TO EDIT THE CONTENT OF THE HEADERS. THIS DOES NOT REMOVE THE COLUMNS. YOU NEED TO DO THAT FURTHER DOWN IN THIS FILE.
var g_strDateTime = "Date / Time" var g_strStudentScore = "Student Score" var g_strPassingScore = "Passing Score" var g_strResult1 = "Result" var g_strQuestion = "Question" var g_strCorrectAns = "Correct Answer" var g_strResult2 = "Result" var g_strStudentAns = "Student Answer" var g_strPointsAwarded = "Points Awarded" var g_strNeutral = "Neutral" var g_strCorrect = "Correct" var g_strIncorrect = "Incorrect"
" return strResult;}var strTitle = g_oQuizResults.strTitle;//====================================================================================================//9. THIS IS THE QUIZ TITLE (Don't amend the quiz title here, just choose to hide it or show it. Add // before the next document.write to hide//document.write("
");}}//====================================================================================================//10. THIS IS THE DATE/TIME HEADER. Choose to hide or show only. Add // before the next document.write to hide next document.write to hide //document.write("
" + g_strDateTime + "
"); if (g_oQuizResults.oOptions.bShowUserScore) {//====================================================================================================//11. THIS IS THE STUDENT SCORE HEADER. Choose to hide or show only. Add // before the next document.write to hide //document.write("
" + g_strStudentScore + "
"); } if (g_oQuizResults.oOptions.bShowPassingScore) {//====================================================================================================//12. THIS IS THE PASSING SCORE HEADER. Choose to hide or show only. Add // before the next document.write to hide //document.write("
" + g_strPassingScore + "
"); } if (g_oQuizResults.oOptions.bShowShowPassFail) {//====================================================================================================//13. THIS IS THE RESULT HEADER. Choose to hide or show only. Add // before the next document.write to hide //document.write("
Weird as section 9 is not quite what I have in my coding but pasted as above. I have attached the report.html file showing how it actually appears for section 9 in my report.html file:
46 Replies
I'd love this option too. I am outputting to both Moodle and want to publish to CDROM with the quiz and certificate at the end of the course, which will give me to products from one course.
With Moodle, I add the course in as an activity then prompt student to close and go back to Moodle to complete the quiz and generate the certificate, but for CDROM, I'd also love a simple solution of 'print certificate'. Upgrade option please!
Hi everyone!
I'm new here so please forgive me if this is a stupid question. I watched Jeanette's screenr and have changed the 'Print Results' button to read 'Print Certificate'.
However, the problem is that the text on the results screen in the quiz still reads: 'To print your results, click the 'Print Results' button'. This no longer makes sense as the button is no longer called 'Print Results'.
I noticed that Jeanette had been able to customise her results screen on her presentation, but I can't seem to find any instructions anywhere on how to do this. Can anyone point me in the right direction?
Hi Krystie,
I think you should be able to edit that after publishing by editing the "goodbye.html" file. This is the same file that many people customize to look like a certificate. After publishing go to Data>LMS> and you will find the goodbye.html file you are looking for. Hope that helps.
Thanks so much for your quick reply, Joe!
My output is just web output not LMS and I can't seem to find the goodbye.html file anywhere. Do you know which file I should edit for web output?
Hi Krystlie, If you just want to change the word on the pass/fail results slides yiu can do this in slide view and just change the text to read print certificate.
Hope this is what you needed, Louise
Thanks Sue, I tried this but it doesn't change the default text that reads: 'To print a certificate, press the Print Results button'. The pass screen only allows me to insert extra text before this default instruction. Hmmm... Does anyone know where the goodbye.html file is for courses not published to LMS format?
Not sure you are talking about quiz results - but I edit Report.html
Located at:
\\data\swf\quizmaker_278\quiz_content\report.html
We have successfully used this approached modifing the report.html and adding an image at the header and footer of our print certificate. This worked for us in Internet Explorer 8, but now that we are using Internet Explorer 9, only the header and footer images show up to print. It will also display correctly if we use Mozilla Foxfire browser.
Does anyone have an idea or suggestion on what can be done to have the print window display all the certificate contents in IE9?
Thanks for your suggestions, Joe and Louise, but I think I need to clarify my question... I was able to create a custom certificate no problem. And then I followed Jeanette's Screenr to change the 'Print Results' button to a 'Print Certificate' button.
However, I now need to change the final screen of the quiz - see screenshot. As you can see, I've changed the 'Print Results' button to a 'Print Certificate' button. But the wording above it still reads: 'To print your results, click the 'Print Results' button'. Therefore I need to change this wording to: 'To print your certificate, click the 'Print Certificate' button'.
I've tried editing the 'Pass result' screen, but this does not allow me to customise this text. See attached screenshot.
I hope someone can help. The Screenr by Jeanette was very helpful, but I wonder how other people have overcome this resultant issue.
Hi Krystie.
You can edit the text by opening up the Pass or Fail Result and selecting Home -> Slide View.
Hey,
I have followed the instructions to customise the report.html (http://www.articulate.com/support/quizmaker09/kb/?p=353), I have managed to add a print certificate button and other variables (such as the passing score in the customised report.html)
Now I would like to put a background (color, stample, etc on which the results appear). Do you know how to do that? In the customised report (http://www.articulate.com/support/quizmaker09/kb/?p=353) there is a picture, but that is above the results. I'd like to add a picture as background. Which html code do I need to use in the customised report to obtain that?
Thanks a lot!
Tommaso
Hi, I have looked at all of the posts on this subject and feel I need to add my intrest to having certificates into the mix. I am brand new to Articulate and have just started to explore the Quizmaker software, I am impressed with it but a little more than disappointed with the lack of a usable certificate/s. I have modified the report.html but it is still not fancy enough and I am not that familiar with coding. Are there any plans to add this valuable addition to Quizmaker as the pressure is on to have a certificate my boss will accept and at the moment it does not cut the mustard. I have done pretty much what Tomasso above me has done but need some help and or information to complete my task (and make my boss less grumpy)
Thanks in advance for any help or advice that can be given.
Best Regards,
Chris
Hi Chris and welcome to Heroes! While we don't announce features, you are welcome to submit feature requests here.
Hi Steve,
Thanks for posting that. I'm really interested in using this code. I'm sure I saw a tutorial or reply that talked about displaying other data from SCORM - like the course title. Do you know of any samples? If you could post the .fla that would be awesome!
Thanks.
Our Company requires the employee's payroll number to be on all training documentation. When the student successfully passes the assessment, he/she is directed to enter his/her name and his/her payroll number. The next screen is basically template with the course name, certificate of completion and the person's name/payroll number. I used the data entry option and assigned it a variable. On the certificate, I put a text box and click on "REFERENCE" and choose the assigned variable
Not being fluent in HTML, I was pretty excited yesterday when I figured out how to change the font, font size, and color of the text generated by the program. This makes the certificate look so much nicer. I went to section //2 and changed all the font-families to my chosen font. I also changed the font size for H1 and H2 to make it larger. In secton //9 you can see what parts of the text use those font sizes. I'll paste the whole code below. Please note - we don't use an LMS. I'll also post a picture of the certificate that results from the code.
Also, I didn't need to do any special coding to have Articulate prompt for the name of the quiz taker. If you open up the quiz and click on Pass Result, all you have to do is check the boxes "Allow user to print results" and "Prompt the user for their name before printing."
I customized the Pass Results slide in slideview to refer to the printing of the certificate (not a report). I also wanted the results to be emailed but had trouble getting the email subject and text to include capital letters when working in Quizmaker. The work around was to add a slide after the quiz in Presenter and include a hyperlink for an email on that slide. I didn't want people who failed the quiz to see that email slide, so I hide that slide using Slide Properties and in the Quizzes and Interactions box when the user passes the finish button it only directs users who pass to that slide.
__________________________
<HTML>
<HEAD>
<!-- saved from url=(0014)about:internet -->
<TITLE>Results</TITLE>
<SCRIPT>
//====================================================================================================
//WELCOME TO THE REPORT.HTML SOURCE FILE THIS IS THE FULL SOURCE FILE WITH ALL FIELDS SHOWING FOR ADDRESS CONFIDENTIALITY PROGRAM COURSE
//
//Here you can edit certain word strings like "JANUARY" or remove a line altogether so that the information does not appear in the final quiz results page. WARNING Be very careful when editing this page. Only edit the strings where indicated. To remove a line, do NOT remove it. Just place // at the beginning of the line. This effectively tells the computer to ignore that line.
//For example, to remove the Correct Answer column, you need to place // at the beginning of the Correct Answer Header line and the Correct Answer Body line. David Moxon. Articulate
var g_arrMonths = new Array()
//==================================================================================================
// Enter the month names below
//1. EDIT THE LETTERS IN QUOTES TO CHANGE THE LANGUAGE OF YOUR DATE
g_arrMonths[0] = "January"
g_arrMonths[1] = "February"
g_arrMonths[2] = "March"
g_arrMonths[3] = "April"
g_arrMonths[4] = "May"
g_arrMonths[5] = "June"
g_arrMonths[6] = "July"
g_arrMonths[7] = "August"
g_arrMonths[8] = "September"
g_arrMonths[9] = "October"
g_arrMonths[10] = "November"
g_arrMonths[11] = "December"
//====================================================================================================
// Enter the column headers
//2. EDIT THE WORDS IN QUOTES TO EDIT THE CONTENT OF THE HEADERS. THIS DOES NOT REMOVE THE COLUMNS. YOU NEED TO DO THAT FURTHER DOWN IN THIS FILE.
var g_strDateTime = "Date / Time"
var g_strStudentScore = "Student Score"
var g_strPassingScore = "Passing Score"
var g_strResult1 = "Result"
var g_strQuestion = "Question"
var g_strCorrectAns = "Correct Answer"
var g_strResult2 = "Result"
var g_strStudentAns = "Student Answer"
var g_strPointsAwarded = "Points Awarded"
var g_strNeutral = "Neutral"
var g_strCorrect = "Correct"
var g_strIncorrect = "Incorrect"
</SCRIPT>
<STYLE>
TD {
font-size:10pt;
font-family:candara;
text-align: center;
width: 12.5%;
}
.CORRECT {
font-size:10pt;
font-family:candara;
color: #008800;
}
.INCORRECT {
font-size:10pt;
font-family:candara;
color: #880000;
}
.NEUTRAL {
font-size:10pt;
font-family:candara;
color: #000088;
}
.QUESTION {
font-size:10pt;
font-family:candara;
text-align: left;
width: 46.25%;
}
.NUMBER {
font-size:10pt;
font-family:candara;
text-align: center;
width: 3.75%;
}
.DATE {
font-size:10pt;
font-family:candara;
text-align: center;
}
.DATETIME {
font-size:10pt;
font-family:candara;
margin-top: 0;
margin-bottom: 0;
}
.SUMMARY {
font-size:10pt;
font-family:candara;
text-align: center;
}
H1 {
font-size:14pt;
font-family:candara;
color: #887c50;
text-align: center;
}
H2 {
font-size:24pt;
font-family:candara;
color: #887c50;
text-align: center;
}
TH {
font-size:12pt;
font-family:candara;
}
</STYLE>
<SCRIPT>
var g_arrResults = window.opener.g_arrResults
var g_oQuizResults = window.opener.g_oQuizResults;
function AddItem(nIdx)
{
var strResult = g_strIncorrect;
var strClass = "INCORRECT";
var strCorrectResponse = " ";
var strStudentResponse = " ";
if (g_arrResults[nIdx].strCorrectResponse)
{
strCorrectResponse = g_arrResults[nIdx].strCorrectResponse;
strCorrectResponse = strCorrectResponse.replace(/\|#\|/g,",");
}
if (g_arrResults[nIdx].strStudentResponse)
{
strStudentResponse = g_arrResults[nIdx].strStudentResponse;
strStudentResponse = strStudentResponse.replace(/\|#\|/g,",");
}
document.write("<TR>");
//====================================================================================================
//3. THIS IS THE QUESTION NUMBER
document.write("<TD class='NUMBER'>" + g_arrResults[nIdx].nQuestionNum + "</TD>");
//====================================================================================================
//4.THIS IS THE QUESTION TEXT
document.write("<TD class='QUESTION'>" + g_arrResults[nIdx].strQuestion + "</TD>");
//====================================================================================================
//5. CORRECT ANSWER BODY : THIS IS THE CORRECT REPONSE NEEDED TO OBTAIN POINTS
document.write("<TD>" + strCorrectResponse + "</TD>");
//====================================================================================================
//6. STUDENT ANSWER BODY: THIS IS THE STUDENT RESPONSE
document.write("<TD>" + strStudentResponse + "</TD>");
if (g_arrResults[nIdx].strResult == "correct")
{
strResult = g_strCorrect;
strClass = "CORRECT"
}
else if (g_arrResults[nIdx].strResult == "neutral")
{
strResult = g_strNeutral
strClass = "NEUTRAL"
}
//====================================================================================================
//7. ANSWER BODY: THIS SAYS IF THE ANSWER IS CORRECT OR NOT
document.write("<TD class='" + strClass + "'>" + strResult + "</TD>");
//====================================================================================================
//8. POINTS SCORED BODY: THIS IS THE POINTS SCORED FOR EACH QUESTION
document.write("<TD>" + g_arrResults[nIdx].nPoints + "</TD>");
document.write("</TR>");
}
function FormatDate(dtmDate)
{
var strResult = "";
var nHours = dtmDate.getHours();
var strAM = "am";
var nMinutes = dtmDate.getMinutes();
var strMinutes = "" + nMinutes;
if (nMinutes < 10)
{
strMinutes = "0" + nMinutes;
}
if (nHours == 12)
{
strAM = "pm";
}
if (nHours > 12)
{
nHours -= 12;
strAM = "pm";
}
strResult += "<P>"
strResult += g_arrMonths[dtmDate.getMonth()] + " ";
strResult += dtmDate.getDate() + ", ";
strResult += dtmDate.getFullYear() + " at ";
strResult += nHours + ":";
strResult += strMinutes + " ";
strResult += strAM;
strResult += "</P>"
return strResult;
}
</SCRIPT>
</HEAD>
<BODY><center>
<!-- This is the image file showing the top of the image created in photoshop -->
<img src="quizimages/resultcertificateframetop.png">
</center>
<SCRIPT>
var strTitle = g_oQuizResults.strTitle;
//====================================================================================================
//9. THIS IS THE QUIZ TITLE (Don't amend the quiz title here, just choose to hide it or show it. Add // before the next document.write to hide
//document.write("<P><H1>" + strTitle + "</H1></P>");
if (g_oQuizResults.oOptions.strName)
{
if (g_oQuizResults.oOptions.strName.length > 0)
{
//document.write("<CENTER><P><H1>In honor of your outstanding performance and dedication, we proudly present this award to:</I></CENTER>");
document.write("<P><B><H2>" + g_oQuizResults.oOptions.strName + "</H2></B></P>");
//document.write("<CENTER><P><H1>for completion of the course:</I></CENTER>");
//document.write("<P><H1>" + strTitle + "</H1></P>");
document.write("<CENTER><P><H1>Passed the Online Exam On:</CENTER></H1>");
document.write("<CENTER><H1>" + FormatDate(g_oQuizResults.dtmFinished) + "</CENTER></H1>");
document.write("<CENTER><P><H1>Student Score: " + g_oQuizResults.strScore + "</CENTER></H1>");
}
}
</SCRIPT>
<center>
<!-- This is the image file showing the bottom of the image created in photoshop -->
<img src="quizimages/resultcertificateframebottom.png">
</center>
</BODY>
</HTML>
_____________
I'm seeing some pretty big text in my post. If Justin or someone knows how to fix it, feel free!
Hi all,
This is very useful information. I have a unique requirement regarding the certificate generation. I want to store the certificate in a database once a user completes the course or clears an assessment. Please let me know is this feasible.
Regards,
Vikranth.P
Hi,
I just finished my first course on Storylyne and I can't manage to print the end course certificate.
I read around that I need to use html or other language.
Does anyone have suggestions?
Thanks for help.
A very tired Arduino
Hi guys,
Thanks to those preceeding for your instructions on creating a certificate from the report html. I have followed the code above, but when I print the certificate it only shows the images and not the string of text within. I am not sure why. Code is same as far as I can see other than the specific text and image variations. Have posted here in case anyone can see a glaring issue! I use firefox as my browser.
I gather there is no way at this point to prevent a guest user printing multiple certificates from the one quiz result and populating with a new name each time? Whilst I would wonder why one would do that, I have known it to happen with the quiz results printout! I understand that only the original guest details will upload to AO once submitted but multiple certs can be generated with different names.
I currently pull a CSV dataset, clean it and upload it into another program to generate and dispatch certificates. I am hoping to find a way to cut this workload out as I often give out 500-1500 certs at the beginning of each month! This is growing with each new module I add to our online education program.
Any help with this particular code issue would be fab - thanks in advance!
Complete code added here:
_______________________________________________________________________________________________________
Results
//====================================================================================================
//WELCOME TO THE REPORT.HTML SOURCE FILE THIS IS THE FULL SOURCE FILE WITH ALL FIELDS SHOWING
//
//Here you can edit certain word strings like "JANUARY" or remove a line altogether so that the information does not appear in the final quiz results page. WARNING Be very careful when editing this page. Only edit the strings where indicated. To remove a line, do NOT remove it. Just place // at the beginning of the line. This effectively tells the computer to ignore that line.
//For example, to remove the Correct Answer column, you need to place // at the beginning of the Correct Answer Header line and the Correct Answer Body line. David Moxon. Articulate
var g_arrMonths = new Array()
// Enter the month names below
//1. EDIT THE LETTERS IN QUOTES TO CHANGE THE LANGUAGE OF YOUR DATE
g_arrMonths[0] = "January"
g_arrMonths[1] = "February"
g_arrMonths[2] = "March"
g_arrMonths[3] = "April"
g_arrMonths[4] = "May"
g_arrMonths[5] = "June"
g_arrMonths[6] = "July"
g_arrMonths[7] = "August"
g_arrMonths[8] = "September"
g_arrMonths[9] = "October"
g_arrMonths[10] = "November"
g_arrMonths[11] = "December"
//====================================================================================================
// Enter the column headers
//2. EDIT THE WORDS IN QUOTES TO EDIT THE CONTENT OF THE HEADERS. THIS DOES NOT REMOVE THE COLUMNS. YOU NEED TO DO THAT FURTHER DOWN IN THIS FILE.
var g_strDateTime = "Date / Time"
var g_strStudentScore = "Student Score"
var g_strPassingScore = "Passing Score"
var g_strResult1 = "Result"
var g_strQuestion = "Question"
var g_strCorrectAns = "Correct Answer"
var g_strResult2 = "Result"
var g_strStudentAns = "Student Answer"
var g_strPointsAwarded = "Points Awarded"
var g_strNeutral = "Neutral"
var g_strCorrect = "Correct"
var g_strIncorrect = "Incorrect"
TD {
font-size:10pt;
font-family:arial;
text-align: center;
width: 12.5%;
}
.CORRECT {
font-size:10pt;
font-family:arial;
color: #008800;
}
.INCORRECT {
font-size:10pt;
font-family:arial;
color: #880000;
}
.NEUTRAL {
font-size:10pt;
font-family:arial;
color: #000088;
}
.QUESTION {
font-size:10pt;
font-family:arial;
text-align: left;
width: 46.25%;
}
.NUMBER {
font-size:10pt;
font-family:arial;
text-align: center;
width: 3.75%;
}
.DATE {
font-size:11pt;
font-family:arial;
text-align: center;
}
.DATETIME {
font-size:11pt;
font-family:arial;
margin-top: 0;
margin-bottom: 0;
}
.SUMMARY {
font-size:10pt;
font-family:arial;
text-align: center;
}
H1 {
font-size:18pt;
font-family:arial;
text-align: center;
colour:#8B0000;
}
H2 {
font-size:14pt;
font-family:arial;
text-align: center;
}
TH {
font-size:12pt;
font-family:arial;
}
var g_arrResults = window.opener.g_arrResults
var g_oQuizResults = window.opener.g_oQuizResults;
function AddItem(nIdx)
{
var strResult = g_strIncorrect;
var strClass = "INCORRECT";
var strCorrectResponse = " ";
var strStudentResponse = " ";
if (g_arrResults[nIdx].strCorrectResponse)
{
strCorrectResponse = g_arrResults[nIdx].strCorrectResponse;
strCorrectResponse = strCorrectResponse.replace(/\|#\|/g,",");
}
if (g_arrResults[nIdx].strStudentResponse)
{
strStudentResponse = g_arrResults[nIdx].strStudentResponse;
strStudentResponse = strStudentResponse.replace(/\|#\|/g,",");
}
document.write("
//====================================================================================================
//3. THIS IS THE QUESTION NUMBER
document.write("
//====================================================================================================
//4.THIS IS THE QUESTION TEXT
document.write("
//====================================================================================================
//5. CORRECT ANSWER BODY : THIS IS THE CORRECT REPONSE NEEDED TO OBTAIN POINTS
document.write("
//====================================================================================================
//6. STUDENT ANSWER BODY: THIS IS THE STUDENT RESPONSE
document.write("
if (g_arrResults[nIdx].strResult == "correct")
{
strResult = g_strCorrect;
strClass = "CORRECT"
}
else if (g_arrResults[nIdx].strResult == "neutral")
{
strResult = g_strNeutral
strClass = "NEUTRAL"
}
//====================================================================================================
//7. ANSWER BODY: THIS SAYS IF THE ANSWER IS CORRECT OR NOT
document.write("
/====================================================================================================
//8. POINTS SCORED BODY: THIS IS THE POINTS SCORED FOR EACH QUESTION
document.write("
document.write("
"
" return strResult;}var strTitle = g_oQuizResults.strTitle;//====================================================================================================//9. THIS IS THE QUIZ TITLE (Don't amend the quiz title here, just choose to hide it or show it. Add // before the next document.write to hide//document.write("strResult += g_arrMonths[dtmDate.getMonth()] + " ";
strResult += dtmDate.getDate() + ", ";
strResult += dtmDate.getFullYear() + " ";
strResult += nHours + ":";
strResult += strMinutes + " ";
strResult += strAM;
strResult += "
" + strTitle + "
");if (g_oQuizResults.oOptions.strName){if (g_oQuizResults.oOptions.strName.length > 0){document.write("This is to certify that:
");document.write("
");document.write("" + g_oQuizResults.oOptions.strName + "
has successfully passed:
");document.write("" + strTitle + "
");document.write("" + FormatDate(g_oQuizResults.dtmFinished) + "
");document.write("Student Score: " + g_oQuizResults.strScore + "
");}}//====================================================================================================//10. THIS IS THE DATE/TIME HEADER. Choose to hide or show only. Add // before the next document.write to hide next document.write to hide //document.write("//====================================================================================================
//14. THIS IS THE DATE / TIME BODY IN THE TOP HEADER Choose to hide or show only. Add // before the next document.
//document.write("
if (g_oQuizResults.oOptions.bShowUserScore)
{
//====================================================================================================
//15. THIS IS THE STUDENT SCORE BODY IN THE TOP HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
}
if (g_oQuizResults.oOptions.bShowPassingScore)
{
//====================================================================================================
//16. THIS IS THE PASSING SCORE BODY IN THE TOP HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
}
if (g_oQuizResults.oOptions.bShowShowPassFail)
{
var strCapResult = g_oQuizResults.oOptions.strResult;
strCapResult = strCapResult.substr(0,1).toUpperCase() + strCapResult.substr(1);
//====================================================================================================
//17. THIS IS THE RESULT BODY IN THE TOP HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
}
//document.write("
//====================================================================================================
//18. THIS IS THE QUESTION NUMBER HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//====================================================================================================
//19. THIS IS THE QUESTION HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//====================================================================================================
//20. THIS IS THE CORRECT ANSWER HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//====================================================================================================
//21. THIS IS THE STUDENT ANSWER HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//====================================================================================================
//22. THIS IS THE RESULT HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//====================================================================================================
//23. THIS IS THE POINTS AWARDED HEADER Choose to hide or show only. Add // before the next document.write to hide
//document.write("
//document.write("
// Sort our questions by question number
var arrSort = new Array();
if (g_arrResults.length > 0)
{
if (g_arrResults[0].bFound)
{
for (var i = 0; i
{
g_arrResults[i].bFound = false;
}
}
for (var i = g_arrResults.length - 1; i >= 0; i--)
{
var nIndex = -1;
var nMaxValue = -1;
for (var j = 0; j
{
if (!g_arrResults[j].bFound && g_arrResults[j].nQuestionNum > nMaxValue)
{
nMaxValue = g_arrResults[j].nQuestionNum;
if (nIndex >= 0)
{
g_arrResults[nIndex].bFound = false;
}
g_arrResults[j].bFound = true;
nIndex = j;
}
}
arrSort[i] = nIndex;
}
for (var i = 0; i
{
AddItem(arrSort[i]);
}
}
document.write("
_____________________________________________________________________________________________________
Any help would be much appreciated.
Cheers,
Juliet
Weird as section 9 is not quite what I have in my coding but pasted as above. I have attached the report.html file showing how it actually appears for section 9 in my report.html file:
This discussion is closed. You can start a new discussion or contact Articulate Support.