Forum Discussion
RyanLowry
10 years agoCommunity Member
Storyline 2 Example - Generating a PDF Certificate for users who successfully complete a quiz
Hi all,
I've been experimenting with a JavaScript PDF library (pdfmake) to generate PDF certificates client side for learners who have successfully completed a quiz in Storyline 2.
You can see a...
RyanLowry
7 years agoCommunity Member
No worries! The date is in UK format DD/MM/YYYY e.g. 5th June 2018
You'll need to edit line 42 if you want to switch to another format e.g. MM/DD/YYYY
date = mm + '/' + dd + '/' + yyyy;
- LoganStahler7 years agoCommunity Member
Ahhh, that makes sense! Thanks again, looking forward to implementing this. You rock.
- LoganStahler7 years agoCommunity Member
Odd, I edited the certificate.html file with that line change and it's still spitting out 05/06/2018.
- RyanLowry7 years agoCommunity Member
Did you delete and re-add the web object? You need to do this every time you make an edit.
- LoganStahler7 years agoCommunity Member
That was the trick I needed! Thank you, thank you!