Using Text Variables to Capture and Display Learner

Use Learner's Name in E-Learning Course #222: Challenge | Recap

Using variables to capture a learner’s name is one of the most common ways to build more personalized and dynamic e-learning.

It’s also one of the easiest ways to begin working with variables and variable references in e-learning. And that’s what this week’s challenge is all about!

View on YouTube

3 Pro Tips for Customizing Text Entry Fields in Storyline 360

Once you've mastered the basics, you might want more control over the course experience. We'll look at disabling the next button until the learner enters their name, showing an alert message reminding the learner to enter their name before clicking the next button, and how to navigate forward by pressing the Enter key on the keyboard.

View on YouTube

Challenge of the Week

This week, your challenge is to show how text variables can be used to capture and display a learner’s name in e-learning courses.

For users experienced with using variables, we’re looking for creative ways to capture and display the learner’s name. Build a demo or show a real-world project you built.

If you’re brand new to e-learning or working with variables, don’t sweat this one. We’re here to help. If you get stuck or want us to take a look at your project, post a question in the forums and we’ll be happy to take a look.


Here are some resources for Storyline users. If you’re using another authoring tool or even a tool that doesn’t support variables (like PowerPoint) you can still share your ideas.

User Guide:


  • Using Random Number Variables to Create Dynamic E-Learning #188: Challenge | Recap

Share Your E-Learning Work

  • Comments: Use the comments section below to share a link to your published example and blog post.
  • Forums: Start  your own thread and share a link to your published example..
  • Personal blog:  If you have a blog, please consider writing about your challenges. We’ll link back to your posts so the great work you’re sharing gets even more exposure.
  • Twitter: If you share your demos on Twitter, try using #ELHChallenge so your tweeps can track your e-learning coolness.

Last Week’s Challenge:

Before you dive into this week’s challenge, take some time to check out the animated GIF examples your fellow challengers shared over the past week:

Using Animated GIFs for Learning #221

Using Animated GIFs for Learning #221: Challenge | Recap

Wishing you a dynamic week, E-Learning Heroes!

New to the E-Learning Challenges?

The weekly e-learning challenges are ongoing opportunities to learn, share, and build your e-learning portfolios. You can jump into any or all of the previous challenges anytime you want. I’ll update the recap posts to include your demos.

Jodi M. Sansone
Nancy Woinoski
Felix Franke
Nancy Woinoski

Hi Felix, thanks for checking. You should not need a SCORMCloud account to access the course. SCORMCloud should prompt you to enter your email address and then show a button to launch the course. It was working but maybe the invite link expired or something. My solution uses JavaScript as well. Someone posted some code to do this in the community forum, but it did not work properly. I made some edits to the code and have managed to get it to work on SCORMCloud, Cornerstone, and Moodle. This is the code if you want to try using it. var player = GetPlayer(); function findLMSAPI(win) { if (win.hasOwnProperty("GetStudentID")) return win; else if (win.parent == win) return null; else return findLMSAPI(win.parent); } var lmsAPI = findLMSAPI(this); var lmsName = lmsAPI.GetStudent... Expand

Felix Franke
Zsolt Olah
Tobias Noeske
Chris Undery
David Crocker
Scott Schmeer
Jackie Van Nice
David Anderson
Nicholas Soldatenko
Jeffrey Riley