report.html
Jun 01, 2011
So I have my course built and hosted on our site. I customized my report.html to make a prettified certificate of completion. All is well.
Then it happened... The question...
What if someone copies the URL and emails it to others so they can just print the Certificate and add their name and the date/time?
So... How do I fix that? Is there a way to use the strName Var and an If then Else to do a Close() or Window.Close type function? Or maybe some way to show a watermark image or redirect to a blank page closing it if the score is under 80?
10 Replies
Hi Tony,
I have just completed my project. I managed to edit the report.html page.
I realized that indeed there is a flaw. A 'resourceful' student could click the 'Print Certificate' button multiple times, and print a copy for all their classmates.
I realize this was a question 7 years ago. Any chance that someone has a solution?
I have knowledge of html, however not much in JavaScript editing.
I'm wondering if there is a way for the 'quiz' file/window to close once someone clicks 'Print Certificate'?
The best i managed was to put a text question at the start of the course
that stored the learner's name as a variable. Then i used that when the
certificate was generated. Not sure if that quite answers it. I left that
job a couple years ago so I'm pulling from memory here.
Thanks Tony. Yes, I tried placing a text entry question to get the student's name. My challenge is not knowing how to incorporate that variable in the report.
I appreciate you replying. Nice to know the community helps each other, even as time or jobs move on.
I'll look in my old files and check with a guy that still works there. I
may be able to get my files and give more info from that.
The name field slode was added to the quiz. Then i could save itbas a
variable. I can find a link to info on that to send. The tricky part was
modifying a custom report.html file.
Hi Tony,
Again, thanks for the help. Much appreciated. Being able to incorporate a user-entered-field of their full name in the report.html is my goal.
I added some text 'met the requirements for this certificate' where I saw an opportunity. (found a <p> </p>
<p><a href="javascript:print();"><img src="_PrintThisPage.jpg" alt="print this page" width="115" height="23" border="0" /></a></p>
While I would like a 'pretty' certificate, I'm working with little time. I'll try to make a pretty certificate perhaps in 'phase 2' when I have time in September.
Students have to get 100% on this test and display their certificate in order to go on their field placement. Stakes are high to get this right (and with no students cheating).
thanks!
So I haven't been able to get my old files. Sad, because if I could you'd be able to just import them to your project and make some mods.
I did find my notes though and from what I can work out on paper, what I did was...
Create my my quiz. First slide has a text field that saves the input as "learner". I add "learner" to my variables on the quiz.
I also add "systemdate" and "quizztitle" as variables.
Each time I use this, I manually set the quizztitle variable for the name of the course.
systemdate is a script and is set as a slide trigger on the final slide where it calculates and passes everything. (screenshot)
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
var dateString=month + "/" + day + "/" + year
var player = GetPlayer();
player.SetVar("SystemDate",dateString);
Now in report.html you just have to add in the "learner", "quiztitle" and "systemdate" variables as javascript inputs. Mine was done as an overlay using an image of the blank certificate. So it had the img then it was something like...
<p> This certifies that <learner> <br>has completed <br><quiztitle> <br>on <systemdate><br><br><br> (print button down here)
That's where I really wish I had my report.html file because I really can't remember what that code looked like. I had really stripped report.html down to maybe 30 lines or less if I remember right. If I can get my hands on it I'll add it here.
Anyhow... I then would set my quiz settings so that people had to take the training over if they failed. Doing it this way it sets the name at the beginning and it's passed as a variable; like the scores. So when you go to the url it comes up blank. Only way to fake it then would be SnagIt/PhotoShop on a screen print and try to match font and font size.
At one point I had a submit button I was working on to log the completion info to a DB so it could be verified and the list could be passed to the people in Ed/Trng that tracked our mandatory stuff.
Thanks for the input. Apologies for the delay in response.
I'm going to review this and see how it goes. I really do appreciate your time and effort to help!
So glad that Tony was able to help you out here Wendy. I appreciate you popping back in with an update.
It looks like your email signature came through when you replied via email. Looks like nothing too revealing, but you can remove that if needed by clicking ‘Edit’ beneath your response. Here’s a quick Peek video if you need help.
I just like to make sure users are aware :)
I think you have the wrong person’s email.
Heidi Breslow | Instructional Designer | Learning Experience Team
Frontline Education | 1400 Atwater Dr., Malvern, PA 19355 | p: 484.328.4127 | Hbreslow@FrontlineEd.com | www.FrontlineEducation.com
This email may contain information that is confidential or attorney-client privileged and may constitute inside information. The contents of this email are intended only for the recipient(s) listed above. If you are not the intended recipient, you are directed not to read, disclose, distribute or otherwise use this transmission. If you have received this email in error, please notify the sender immediately and delete the transmission. Delivery of this message is not intended to waive any applicable privileges.
Hi Heidi! It looks like you may be subscribed to this forum thread.
Simply click here to open the discussion, then click the "Subscribed" button at the top to toggle off your subscription.
You can also manage all your subscriptions from your E-Learning Heroes profile page!
This discussion is closed. You can start a new discussion or contact Articulate Support.