I’m hoping someone can help. I am trying to set up a trigger-based variable that opens a dialogue box when they select the Exit link button if there are components that have not been completed.
The only Event options are Component Completed, Viewed or Started, not Incomplete, so struggling to make something that works that is linked to the Exit button. We already use Interaction labels and a progress bar so you might think having another indicator would be overkill but it’s suprising how many learners think they have finished a course when they haven’t.
The answer could depend on whether you are using new Evolve or legacy Evolve.
On the face of it, this sounds like it might be a question that is best submitted to our support team. They will then be able to take in to account the version of Evolve, the components being used and whether there is a solution that does what you need it to. Please make sure to include a link to the course when contacting support.
Here’s how I would solve this problem in Legacy Evolve - there may well be a more efficient way around it but I believe this will work.
Set up a Number Variable - let’s call it “Completion” - with a default value of zero.
Set up a trigger that shows the logic dialog “there are components that haven’t been completed” based on the Exit button being clicked. Let’s call this trigger “Pop-up”.
Set up a trigger for the first component (let’s say it’s an accordion) that must be completed as follows:
Event:
Component completed
Condition:
Component > Accordion
Action:
Increase variable by value
Variable > Completion
Value > 1
Duplicate this trigger for every component in your course that needs to be completed, counting the number of components that are required as you go - let’s say it’s 10 components.
Set up one final trigger as follows:
Event:
Variables changed
Condition:
Variable > Completion
Comparison > Equal to
Value > 10
Action:
Disable trigger
Trigger > Pop up
So by default the trigger will show the logic dialog telling the user that they haven’t completed all components. But once they have completed all the components, the variable will hit the number that you set, and fire the trigger which disables the default trigger.
OR
You could just hide the close course button until the user has completed all the components
Thank you for this James, I’ve managed to get it to work but only when the Exit component comes into view not on the click.
This trigger is the issue:
Set up a trigger that shows the logic dialog “there are components that haven’t been completed” based on the Exit button being clicked. Let’s call this trigger “Pop-up”.
Could you possibly send a bit more info on how to set this one up. I’ve tried all sorts of variations but but I can’t get it to pop up on the button click.
We’re in legacy Evolve if that makes a difference. Thank you in advance
I’m guessing maybe the button in your course at the moment is a link component rather than an action button? My solution will only work if it’s an action button.