Forum Discussion
SumitBedi-719eb
7 years agoCommunity Member
Count the characters of a textbox in Storyline 3/ 360
This simple tutorial teaches you how to get the number of characters in storyline textboxes. You can use the functionality to set limits to the short/long answers.
Watch it here:
PunamParab
7 years agoCommunity Member
Thanks for sharing this, Sumit. Perhaps, you could give the Javascript code as a download. This way there would be no need to type it all over again.
- SumitBedi-719eb7 years agoCommunity Member
let player = GetPlayer()
let text1 = player.GetVar('textEntry').length
player.SetVar('count', text1)
//You can replace 'count' and 'textEntry' with your defined variables :)
Related Content
- 8 months ago
- 10 months ago
- 8 months ago