Forum Discussion
NikkiLowin-3dc2
2 months agoCommunity Member
JavaScript help
Can someone help me with coding javascript to display a current date in the following example format: Monday, July 8, 2025.
Appreciate any help and many thanks!
- 2 months ago
I don’t think holding the current date value in a text entry field is a good idea, as it can be easily overridden by the learner’s input. Instead, you can display the current date in a text box by referencing the current_date variable.
The JavaScript code for setting the current date is included in the attached .story file.
NikkiLowin-3dc2
2 months agoCommunity Member
Wow. I have been using text entry fields across several tutorials. Okay. Now I know better. Thank you for the JavaScript. I over complicate things. You have been a tremendous help. I can't thank you enough, Nedim!
- Nedim2 months agoCommunity Member
No problem. You are welcome, Nikki.