Forum Discussion
TinaDenmark-558
8 months agoCommunity Member
Convert systemDate to static txt
I created a variable, systemDate, using JavaScript to display the completion date on a certicate. However, the date changes when the certificate is revisited.
Does anyone know how I can conver...
Nedim
Community Member
Tina,
You should have included var dateString; in the first line of your code as well. In this code, you're setting the value of the "systemDate" Storyline variable to the value of the "dateString" variable. Therefore, you should reference the "systemDate" variable on your slide, not the "dateString" variable as indicated in your document.
TinaDenmark-558
8 months agoCommunity Member
Hi,
Thanks for the quick reply.
I now have the JavaScript in the trigger like this:
[cid:image001.png@01DA802A.DBB4C550]
I have also put the systemDate back into the certificate. I see today’s date when I run the slide.
I will verify the date is static tomorrow morning.
Thanks, Tina