Copy link to clipboard
Copied
Hi Team,
I need some help with the following:
- Auto-populate user's name on the Completion Certificate based on the LMS login credentials.
- Completion Date on Certificate in expanded format (e.g. 3 February 2020)
- Add an option to save the certificate as pdf format
1 Correct answer
Answeer to first two questions:
- Depends on the LMS. Try inserting the user variabel cpQuizInfoStudentName.
- Make sure your system has date set up the way you want and use the system variable cpinfoCurreentLocaleDateString
Third: you can add a print button, but there is no way to force to print to pdf. Depends also on applications installed on the user's system.
Copy link to clipboard
Copied
Answeer to first two questions:
- Depends on the LMS. Try inserting the user variabel cpQuizInfoStudentName.
- Make sure your system has date set up the way you want and use the system variable cpinfoCurreentLocaleDateString
Third: you can add a print button, but there is no way to force to print to pdf. Depends also on applications installed on the user's system.
Copy link to clipboard
Copied
Thanks Lily for the inputs. Could you please advise how to save the Certificate page as PDF using javascript.
Copy link to clipboard
Copied
I, too, am attempting to include a completion certificate with the required 'User Name' and 'Date' variables. I've embedded an image of the customised certificate on a slide and included two text captions with the required variables. What I'm completely stuck on now is how the learner can print the certificate. Lilybiri, you've mentioned to "add a print button" but I simply can not find how to do that. Would be super grateful for your assistance (again!).
Copy link to clipboard
Copied
You don't have control over the print features of the learner. The command 'window.print();' will open the print dialog box. Not sure if that is sufficient. We used to have great print widgets in the SWF time, not anymore now for HTML.