I have read most of the posts about creating a certificate of completion by tweaking the report.htm file and was wondering if there's a way to tweak the code further and pull the student's name in from a survey question where they enter it as an answer to the first question in the quiz. I suspect there's a thread on this somewhere and would be grateful if someone would point me to it.
Not sure about pulling the user name from a survey question, though it does sound possible. Is pulling the user name from the "Print" option not a possibility for what you're trying to do?
It is an option and I've changed the report.html file according to the instructions I've found among the heroes to do so. However, that's Plan B.
The problem with Plan B is the learner can enter ANY name at the completion of the quiz and print a certificate. If they enter their own name in the first question of the quiz, then the odds are more likely that they've completed the quiz themselves. It just makes it more difficult to cheat.
Any other option where the logged-in user name can be pulled into the certificate automatically would be even better. However, I'm technically challenged when it comes to code beyond html and I don't know how to mess with API calls or javascript That's why I was hoping I could do something with a quiz question.
I could see that being a really useful tool, and worthy of a feature request, but unfortunately it's not something that is supported right now. There is an older thread that discussed something similar that you might be interested in checking out. Hope that's helpful!
5 Replies
Hi Diane,
Not sure about pulling the user name from a survey question, though it does sound possible. Is pulling the user name from the "Print" option not a possibility for what you're trying to do?
Hi Peter,
It is an option and I've changed the report.html file according to the instructions I've found among the heroes to do so. However, that's Plan B.
The problem with Plan B is the learner can enter ANY name at the completion of the quiz and print a certificate. If they enter their own name in the first question of the quiz, then the odds are more likely that they've completed the quiz themselves. It just makes it more difficult to cheat.
Any other option where the logged-in user name can be pulled into the certificate automatically would be even better. However, I'm technically challenged when it comes to code beyond html and I don't know how to mess with API calls or javascript That's why I was hoping I could do something with a quiz question.
Any ideas?
Hi Diane,
I could see that being a really useful tool, and worthy of a feature request, but unfortunately it's not something that is supported right now. There is an older thread that discussed something similar that you might be interested in checking out. Hope that's helpful!
If it is a standard LMS the file I posted on the other thread should pull the username in
Sorry wrong post ignore me!
This discussion is closed. You can start a new discussion or contact Articulate Support.