Forum Discussion
SalomDesanges-c
7 years agoCommunity Member
Storyline text entry : All caps/Uppercase
Hi there !
I am working on a project with a lot of Text Entries, many of them are product references (which are written in capital letter only). I know how to use the == (ignore case) condition t...
WilliamJohns998
5 years agoCommunity Member
A colleague helped me with this:
Add a trigger on the text entry field:
Execute javascript when TextEntry changes.
var player = GetPlayer();
var newVar = player.GetVar("TextEntry");
newVar = newVar.toUpperCase();
player.SetVar("TextEntry", newVar);
(In this example, the variable is called "TextEntry". You'll need to adjust the javascript if you have renamed the variable.)
- BarbaraChoi-2385 years agoCommunity Member
I have the same questions about capital letters directly in the text entry. Sorry, I couldn't follow everything you said above. Are you able to send a sample file?
- JenniferHanc3957 months agoCommunity Member
Unfortunately, I tried this and it didn't work for me. I made sure to rename my variable TextEntry, like the example. Is there maybe an updated method? I see this was posted 4 years ago. Thank you!
Related Content
- 10 years ago
- 9 months ago
- 10 months ago