Black Friday Super Sale! 40% Off on All Products. Don't miss out!
Buy ActivePresenter Buy Saola Animate

How to Use Text Variables in ActivePresenter 8

by | Apr 6, 2020

(Last Updated On: May 15, 2020)

In this tutorial, you’ll learn how to use text variables to capture learners’ names and display those names throughout the course. It’s a great way to make the training more personal and boost learners’ engagement.

Insert a Text Entry

The first thing you need to do is inserting a text box where learners can enter their names. To do so, click the Insert tab > Text Entry.

A good practice is to include simple and clear instructions on how to enter the text.

Insert a text entry

Create a Text Variable

To capture the name entered into the text box, you need to associate a text variable with the text box. Do the following:

1. Select the text entry. Then, navigate to the Properties pane > Interactivity > Score & Reporting > Variable.

2. Click the Add Variable button to create an associated text variable.

Add variable

3. Type the variable name in the dialog and press OK to finish.

Type variable name

You’ve done assigning a text variable to the text box. The variable will store text-based data from learners.

Variable name saved

Tip: You can also click the Home tab > Variables to create variables. For details, see How to Add Variables in eLearning. If you already created a text variable and now want to associate it with text entry, in the Properties pane, click the variable list and select the text variable you want.

Insert an added variable

Insert a Reference to the Variable

While variables store data, variable references retrieve and display the data anywhere in your course. You can add variable references to any text caption, shape, button, or other text-based objects in ActivePresenter.

Insert a reference to the variable

To insert a reference into a text-based object, do the following:

1. Click the text area of the caption to open the inline text editor.

2. Click the Home tab > Reference. Then, select the yourfullname variable from the dialog and click OK to finish.

Variable dialog

The variable reference appears in your text as a placeholder that contains the variable name getting enclosed within two percent signs (%). When you preview or publish your project to HTML5, ActivePresenter replaces the variable names with the actual values of the variables they reference.


Tip: If you remember exactly a variable name, you can type the name and put it between the % signs to reference that variable.

At this point, try clicking the HTML5 Preview button (in the Export tab) to preview your course. Type a name in the text box and click Start. Then, you will see that name appear in the next slide and other places it’s referenced.

And that’s enough for today’s tutorial on how to use text variables to display dynamic information. Stay tuned for coming tutorials on how to use variables in ActivePresenter 8.

See Also:

A Complete Overview of Variables
Add Variables
Use True/False Variables
Use Number Variables
Set Pass/Fail Conditions for Lessons
Define Score and Report for Interactive Questions