Forum Discussion
soucie
3 months agoCommunity Member
Adding current date not working
Hi. I'm trying to add the current date using a variable trigger but cannot seem to get it to populate. I have the correct javascript and it doesn't work when published. I'm at a complete loss at to w...
- 2 months ago
EDIT: Is see in the console a reference to SystemDate, but the JavaScript is attempting to set CurrentDate. Can you confirm you Storyline variable is named CurrentDate and referenced as %CurrentDate% in the tex box
-------------
Do you mind sharing you .story file. You can just attach to the post. One thing I would check is just make sure your variable CurrentDate is spelt correctly and does not contain whitespace before or after it wherever it is referenced.
Just copy one correct instance and then paste wherever it is referenced to be sure.
Happy to check your file if no luck still.
PhilMayor
2 months agoSuper Hero
Javascript now works in preview and there is also access to the console to debug.
sharing the file would make life easy to debug
Related Content
- 5 months ago
- 5 months ago
- 5 months ago