Forum Discussion

JTSmythe-fdd526's avatar
JTSmythe-fdd526
Community Member
4 months ago

Capitalize first letter in a text variable

Hello,

A few years ago, I created a course where I captured the learner's name using text variables and was able to capitalize the first letter of their name regardless of how they entered it. I think I used JavaScript to make this happen, but I'm not sure. Unfortunately, I can't find the .story file. I found a few options for capitalizing the first letter, but so far nothing has worked. I'm not very knowledgeable with JavaScript but would like to use this feature. If anyone has any ideas on how to make this work, I'd appreciate it. Thank you!