Printing Results from A Result Slide

May 21, 2012

I am creating a graded quiz for kids to practice Bible verses. Before they start the quiz, I ask for their name. When I was making the result slide I ticked the "Print Results" option. When I previewed the slide, it asked for the users name again. Is there a way for the name to be already in the program. Also, when they print the results, is there a way to make a certificate and then when they (user) clicks the "Print Results" it prints the certificate. Is there a way to do this?


17 Replies
Lia Sant

Joshua, if you follow steps from and adjust the results slide settings to "allow user to print certificate" but making sure to uncheck the "prompt user to insert name before printing" box,  you'll have no problem with your results and/or certificate slide print.  Don't forget that there are three options as to results slides and I think the last one (blank results slide) would be ideal for certificate customization.  As it's been just a couple of days I have started getting familiar with the Storyline settings, I look forward to reading all about relevant advice and potential considerations. 

Becky Lane

I am also looking for a solution to this. I am having the user enter their name at the very beginning of the course I am creating. Within the course there will be multiple quizzes and a final exam. I don't want the user to have to type their name after they complete every quiz/exam for it to display on the printed results ("report.html") page. Is there a way I can do that?

Gerry Wasiluk

Yes--assuming you used a text entry box to gather their name, this creates a variable.

Just reference the variable on your results page.

The syntax for this is:   %variable_name%

Here's something that Articulate did.  The first page has the learner enter their name.  A variable called Name is created.

A later slide references the name entered:

When the learner see this, the name they entered on slide 1 is shown to them on the slide above (which can also be used on the quiz results slide).

Becky Lane

In the report.html file it appears that the user's name is stored as g_oPrintOptions.strName. I think I just need to try to overwrite that variable, but I'm not sure how to get to it since it's not in the list of variables. I'm guessing it's a behind-the-scenes thing that Articulate creates when they prompt the user for their name (which is what I'm trying to avoid). If anyone has any suggestions of how to access and/or set that variable via the data entry field I created, I think that would do the trick.

Steve Flowers

Hi, Becky - 

I'd set this up to use the JavaScript GetVar / SetVar methods instead of combing through the PrintOptions object. It's more straight forward. It would work something like this:

var player=window.opener.GetPlayer();

var js_yourUsername=player.GetVar("yourUsername");

This grabs the value of your custom Storyline variable (assuming you've created a variable with the name yourUsername and populated it). Now you can employ the contents of js_yourUsername just as you would any JavaScript variable. The results.html output is sort of oogie. I tend to create my own popup pages and skip the results.html. But it's nice to have some example code for extracting results.

Becky Lane


I don't have any books to recommend, but I visit a lot for JavaScript help and information ( The site is handy because most of the time it will provide an explanation and then allow you to "Try it yourself" and play with the code. I find that helpful because I can (to an extent) play with the code to see if I can get it to do what I want in that remote environment before bringing it into whatever project I'm working on.

Steve Flowers

Hi, Jesse - 

There are a few really good books out there. These are my favorite references:

Javascript: The Good Parts

JavaScript: The Definitive Guide

For learning JavaScript, I think this would be outstanding:

Teamtreehouse is also great for learning development: 

This discussion is closed. You can start a new discussion or contact Articulate Support.