Forum Discussion
HollyGroszko-4c
31 days agoCommunity Member
Minimum Character Requirement on Text Entry
I'm trying to create a 50-character minimum on the text entry input fields for a scenario interaction. I've added JavaScript and additional triggers, but they are not doing what I need. Can someone w...
- 31 days ago
I found nothing wrong with your script. I tested it in an identical setup, and it works just fine.
The only issue seems to be that your variable name 'vanessahines' in the script does not match the variable name in Storyline, which is "VanessaHines."
var text = player.GetVar("vanessahines"); // should be VanessaHines
Nedim
Community Member
I found nothing wrong with your script. I tested it in an identical setup, and it works just fine.
The only issue seems to be that your variable name 'vanessahines' in the script does not match the variable name in Storyline, which is "VanessaHines."
var text = player.GetVar("vanessahines"); // should be VanessaHines
HollyGroszko-4c
31 days agoCommunity Member
thank you so much! That is what was causing the issue!