Community members often ask how to add and display a user’s name in their Articulate Storyline courses. I love that feature because it’s a really simple way to personalize your project and boost learner engagement. Let me walk you through this easy, three-step process to show you how.

1. Add a text entry box to capture the name

The first thing you’ll want to do is insert a text entry box where users will input their name. From the “Insert” tab on the Storyline ribbon, select “Data Entry,” then choose “Text Entry” from the drop-down list. Now you have a data entry box that you can style any way you want.

img1.png

           (Click on the image to view the published output)

A best practice is to include both a simple instruction which tells the user what text to enter, as well as a button to click to submit that information. This button can have a trigger that links to the next slide in your course.

2. Edit your variable associated with the text entry field

Next, rename the variable associated with you data entry field. By default, a variable named “TextEntry” will be assigned to the text entry field, but it’s a good best practice to give your variables meaningful and descriptive names.

img3.png

Open the variable manager (by clicking the “Manage project variables” icon in the Trigger panel) and double-click on the TextEntry variable that Storyline just created. Click inside the name field and rename the variable “Username” or something similar that describes the variable. Be sure to leave the default value blank so no information appears until the user enters his or her name.

3. Insert a variable reference to display the name

Now that you’ve created the text entry field where the learner enters their name, and you’ve stored the information in a variable with a clear and descriptive label, the final step is to show the username inside a caption further along in your course. You do this by inserting a Reference to a variable.

img4.png

Create a text entry box and type the text you want to appear on the slide. Now, with the cursor inside the text box, choose the spot where you want to reference the user’s name. On the Insert tab on the ribbon you’ll notice the “Reference” option. Click that to insert a reference to that variable everywhere you want your user’s name to appear.

To see this process in action, check out this awesome video tutorial by Community Manager David Anderson: Adding Text Variables in Storyline.

With these three easy steps, you can add your learner’s name and make your course feel more personalized. Do you have any tips or best practices about adding usernames or variables in Storyline? If you do, leave a comment below. We love to hear your feedback!

You can always sign up for a fully functional, free 30-day trial of Articulate software. And don’t forget to post your questions and comments in the forums! We’re here to help. For more e-learning tips, examples, and downloads, follow us on Twitter.

14 Comments
Nicole Legault
Nicole Legault

Hi Caroline! Thanks for the question. Here's one solution: add a trigger to the next button that only jumps to the next slide IF the value of username variable is NOT equal to a blank value. To do that, add a new trigger to the next button or submit button the user clicks after they enter their name. At the bottom of the Trigger click "Show Conditions" and add a condition. From List make sure "Variable" is checked, and from the drop down with variables select your username variable. Next, under "operator" choose "NOT equal to", under type leave "Value" and then in the Value field, leave it blank. Once you do this, the submit or next button will not work so long as the text entry field is blank. There has to be at least one value (letter) in it when the user clicks Next or Submi... Expand