Forum Discussion
Print out the certificate without buttons on the screen
There are many ways to create a certification after a final quiz in Storyline. Matthew Bibby shared Six Ways to Generate a Certificate of Completion. But if you are like me preferring editing and viewing certification layout directly in SL and do not like adding extra files into storyline output file after each time publishing. This is the article for you.
Of course you can add a certification slide in SL. Other than the score, you will also need showing user name and date on the certification.
- user name: you can require user to input his/her name with a text entry or Retrieve LMS User Name as Variable.
- Date: Add JS code for the SystemDate
You may already know that we can add a print button and have users print a slide with a simple JS code below:
window.print();
But you will encounter the print icon also shown on the image. And that's definitely shouldn't be existed on a certification.
So here is how I get rid of those buttons.
- Put buttons on another layer.
- Add a hide layer trigger before the print trigger.
That's it.
- SamanthaLowe-d4Community Member
Awesome! Thanks.
- PriyankaRast725Community Member
Thank you so much, Joanne.
- BWoodsFormer Staff
Hi Joanne,
This is a really cool solution for adding a printable certificate! And hiding the buttons on another layer to prevent them from being on the printed certificate is such a smart way to tuck them out of sight! - PhilMayorSuper Hero
Hi Hilary, you shouldn't need that code anymore there is now a print trigger that does the same thing, Joanne post still hold for how to remove the buttons.
- JoanneChenSuper Hero
Hi Hillary,
If you make the certificate slide in a lightbox, you will be able to print the certificate slide without player menu in classic player.
- NellyBARDETCommunity Member
Hi,
Thank you for this solution. I would like to take this opportunity to raise another question: How do I print the certificate in A4 format?