Skip to main content

Outline

In this article, we'll provide an overview of how you can hide content within your Evolve course and reveal it based on a trigger.

Overview


In Evolve, it is possible to hide content within a course and show it to the learner based on their actions. For example, you may want to create a course that only shows a learner content based on their role type.

This is possible by hiding content in a course and showing it once a trigger has been met. In this example, we'll show you how to show a learner content based on the fact they are a senior manager. This will include:

  • Creating a variable along with a component to store the variable results
  • Hiding content
  • Creating a trigger that shows content once the variable has changed

Create the variable


First, create a variable where the learner’s role type will be stored.

  1. Go to Logic in your course.
  2. Click Variables.
  3. Click Add Variable.
  4. Give your variable a title, for example, learner role.
  5. Select your variable type. In this instance we’ll need to choose string - this means the input will be saved as text.
  6. Set a default value, for example, your role. The default value is the text that will be shown until the learner inputs their response.

You’ve now created your variable and it’s ready to be used in a component.

Save the learner response


To store a learner’s response to a variable you need to use a component that allows you to save inputs to a variable. This is the component that will trigger the hidden content to be shown.

To get started, head over to the page builder and click Add Component. In the Component Filter dropdown, choose Variable.

You will then see a list of components that allow you to save responses to variables, find Radio Group, and add to the course.

Once added to your page select Edit Component so you can set it up. In the component, you will need to set up each tab according to your needs.

First, we’ll focus on setting up the Radio Options tab:

  1. Click Add Radio Option.
  2. Add in Option Text - this will be the text visible to the learner.
  3. Add in Option Value - this will be the value used in the trigger (option text and option value can be the same).

In this example, we’ll use Manager and Senior Manager as our options. Next, we need to set up the Behaviour tab in order for the input to be saved to the variable:

  1. Enable Save User Answer to Variable?
  2. From the dropdown select the variable you wish to save to, which in this case would be learner role.
  3. Keep the variable save type as replace.

The component has now been set up to store the learner’s response in the variable.

Hide content


Once you have created the content you wish to hide, you will need to set it to hidden*.* To do this, follow the below steps:

  1. Head over to the page builder*.*
  2. Select the Hidden toggle on the item (page/article/block/component) you wish to hide. For example, to hide the content for senior managers.

Ensure the content you are hiding has been named accurately. To note, this change will remove the content from the live preview of your course.

You have now hidden the content and can begin to create the trigger.

How to create the trigger


The trigger that will be created will be:

Event: Variable Changed
Condition: Choose the variable that needs to be tracked
Action: Show hidden content and navigate to the article

  1. Add Trigger
  2. Name Trigger
  3. Change Event to Variable Changed.
  4. Set the variable to watch as Learner Role.
  5. Select Add Comparison. Set the Comparison to Equal to. The value should match the value of one of the Radio Group component options — in this instance, we will use Senior Manager.
  6. Add a new action and search for Show Hidden (select the correct option depending on the content item you have hidden).
  7. Select the item to show and add a delay if you wish
  8. Add another new action and search for Navigate to (select the correct option depending on the content item you have hidden).
  9. Select the item to navigate to and add a delay if you wish.

Your course now shows your hidden content once the learner selects their role type as Senior Manager.

Did this article help?

Let us know by leaving a star rating or review at the top of this article.