Forum Discussion
ndincerdino
3 years agoCommunity Member
Word Count in Text Entry
Hi, I am creating a writing task for my students. I need to add wordcount sign on the page. How can I do it? My students should see the number of words they have written simulateneously.
Many than...
Nedim
Community Member
Hi Dino,
This could be done only with JavaScript. Please find the attached version of your file with the "Execute Javascript" trigger that runs JS code when the timeline starts. It updates the "wordcount" variable as you type. As you know, this code will not run in preview, only when it's published.
ndincerdino
3 years agoCommunity Member
I am really grateful to your help. Will it work in every writing activity if I copy and paste the javascript code you added?