Forum Discussion

JulieRookard's avatar
JulieRookard
Community Member
15 days ago

Assign a title to different units for test results pages

I have created a curriculum for direct care workers in Storyline. This curriculum contains 12 units. When the learner successfully passes a quiz/test, they must print out the results page to give to their employer. The State requires the name of the unit at the top of the results page. I have created text variables in the triggers panel and assigned each unit a variable name. It's still not working when I test.

 

I think the problem is when I enter the java script in the .report  Anyone have the exact language I need to accomplish this?

5 Replies

  • CarlFink1's avatar
    CarlFink1
    Community Member

    It would be much easier to help you if we had a better idea of what you're doing. Can you upload a .story file? It can (and should) contain only the slide that is printing the results page.

    I don't know why you're using JavaScript, it's possible to do what you want using only Triggers and variables (if I'm understanding you correctly).

  • JulieRookard's avatar
    JulieRookard
    Community Member

    Thank you for your response. I have attached one of the results slides. I have also attached one example (Corporate Compliance) of how it should appear; the Cultural Competency is what I am currently getting when I "print results"

    The only way that I could figure out how to add the line "This training has been provided by..." was to go into the .report and add the java script to the report.

    • CarlFink1's avatar
      CarlFink1
      Community Member

      I created a modded version of your file showing how I'd do it using just a variable.

      Yes, I did create that third option with all "C" words because of the coincidence of your using only "C" words in your two examples ....

  • JulieRookard's avatar
    JulieRookard
    Community Member

    Thank you. I tried replicating what you did and it still is not working. I apologize as I am self taught with this software and maybe I am missing something.

    • CarlFink1's avatar
      CarlFink1
      Community Member

      How is it "Still not working"? What happens when you navigate to the results page? Does the header not update? How are you setting the value of the variable?