Forum Discussion
How to generate current date and time?
Hi,
I want to know how to generate the current date and time that has to be displayed on the screen.
This has to be developed using variables. As I am not familiar on how to do this using Articulate Storyline.
Would be grateful if someone can guide me on how to do this. Will appreciate if you could attach source file my reference.
Attached is a screenshot of what I require.
14 Replies
- HarriSCommunity Member
Hi Palani,
This screenr should point you in the right direction https://player.vimeo.com/video/145576537 there is also this page:http://www.articulate.com/support/kb_article.php?product=st1&id=llwes8cn32vg which has the Storyline best practices and examples.
Hope this helps.
Hi Palani! Looks like Harri is taking care of you here
Just let us know if you need anything further.- PalaniVeluCommunity Member
Hi,
Thanks for sending me the link to the video. I tried out the steps as given, but still the date does not get displayed. Am not able to identify if am missing something. Attached below is a screenshot showing a blank screen.
I have attached the working file for your reference. Is it possible for someone to work on this and get back to me. Also please mark the errors that I have made as this will be helpful.
Will appreciate help from anyone.
- KamilNowekCommunity Member
Because you check it locally from disk, try embed this course to LMS or other server and then check, I'm sure it will work
- HarriSCommunity Member
Hi Palani,
I can see the Javascript working if I publish and then launch in IE9. What browser are you using? Could it be something to do with your security settings?
- HarriSCommunity Member
Also,
I've uploaded your course to http://tempshare.articulate.com/ (mimics the LMS) and found that the javascript does work in google chrome and IE9
This is your link to the course if you want to check it out.
- HelenTyson1Partner
Hi Palani
In the image it looks like you're using Google Chrome - we find during training that some javascript works and some doesn't if you are using Chrome. It's worth trying it in other browsers (IE seems to perform best for this), also make sure you are testing in your final destination - i.e. LMS - to make sure.
H
- PalaniVeluCommunity Member
Hi,
Thanks a lot for your guidance for this.
However, I need to get this to work in Google Chrome. Are there any settings that need to be activated to get this to run on Google Chrome.
I have another query. Please guide me on how I can send a feedback via email
How to feedback via a email?
I want to know how a user can type in text (for example feedback) in a text box, and then click a button to send a mail back to me. The mail should contain the feedback that the user has entered.
Attached is a screenshot of my requirement.
- HarriSCommunity Member
Hi Palani,
I found that if I uploaded your file to tempshare I could view it in chrome without any issue. Therefore I assume that uploading to an LMS will resolve this issue with functionality.
If, however, you are only going to use a web version for whatever reason I would probably reconsider using Javascript as, if the learner used a browser other than IE they would miss out on the functionality.
Palani, it looks like Harri is helping you out here but if you need anything else please let us know!
Related Content
- 6 months ago