Forum Discussion
HollyGroszko-4c
2 months 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...
- 2 months 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
HollyGroszko-4c
2 months agoCommunity Member
I realized the original trigger was still on the submit button, I removed that but it did not solve the issue.