# Triggers and logic

**URL:** <https://community.evolveauthoring.com/t/triggers-and-logic/2140>\
**Category:** General Help\
**Created:** [February 10, 2023, 6:01pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140 "2023-02-10T18:01:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![williams\_al](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@williams\_al](https://community.evolveauthoring.com/u/williams_al)\
**Post date:** [February 10, 2023, 6:01pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/1 "2023-02-10T18:01:33Z")

</div>

Can someone help please, on my first page I have two options where you select your role (either a line manager or non line manager) - so I need two routes of the e-learn. How do I do this?

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [February 10, 2023, 6:47pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/2 "2023-02-10T18:47:48Z")

</div>

Hi Alex,

So first you need to set up 2 different pages - one with your LM content and one for NLM content, then you will need to HIDE those pages.

Next, for using your user selection option (is it an MCQ or a pair of buttons?) you need to set up a logic trigger that says IF the option chosen is {this one} then UNHIDE the {relevant page} and then NAVIGATE to it.

I hope that helps!

---

<div class="post-metadata">

**Author:** ![williams\_al](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@williams\_al](https://community.evolveauthoring.com/u/williams_al)\
**Post date:** [February 10, 2023, 7:51pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/3 "2023-02-10T19:51:17Z")

</div>

Hi,

Thanks so much for replying! This if my first time using evolve and no one else in the team has used it as our account was set up my a previous team member.

So I have different pages set up. The last page is just for line managers but I can’t seem to get the variables right.

For the user selector it’s a radio group. Can I still set up a variable from that?

Many thanks  
Alex

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [February 13, 2023, 12:37pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/4 "2023-02-13T12:37:02Z")

</div>

Yep you sure can -

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/5/5520de220fba39e23c6f410e9b19d1dc62faef24.png)

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [February 13, 2023, 12:38pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/5 "2023-02-13T12:38:48Z")

</div>

Or, as Radio group uses variables, you could use the event “Variables Changed” and then select the variable you set within your Radio group.

Either will get you the same outcome.

---

<div class="post-metadata">

**Author:** ![williams\_al](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@williams\_al](https://community.evolveauthoring.com/u/williams_al)\
**Post date:** [February 13, 2023, 1:08pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/6 "2023-02-13T13:08:54Z")

</div>

Hi Helen,

Amazing, so that has fixed my issues of not being able to see the pages on the footer. But, the line manager page is still not showing if you click on the role that you are a line manager.

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [February 13, 2023, 1:48pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/7 "2023-02-13T13:48:53Z")

</div>

Are you setting it to Unhide (show) when the trigger is triggered?

---

<div class="post-metadata">

**Author:** ![williams\_al](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@williams\_al](https://community.evolveauthoring.com/u/williams_al)\
**Post date:** [February 13, 2023, 2:04pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/8 "2023-02-13T14:04:33Z")

</div>

In triggers I have a line manager one that is set to show all hidden pages (6) and in the non line manager trigger I have show hidden pages and then just included the first 5 but for some reason I’m seeing all 6 pages no matter what option is chosen in the radio group on the first page  
 ![line manager](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/9/926a45cf84607c25be15028051b52728181eecd8.png)

---

<div class="post-metadata">

**Author:** ![Sam\_Cook\_Evolve\_LQA](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/sam_cook_evolve_lqa/32/902_2.png) [@Sam\_Cook\_Evolve\_LQA](https://community.evolveauthoring.com/u/Sam_Cook_Evolve_LQA)\
**Post date:** [February 14, 2023, 10:36am UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/9 "2023-02-14T10:36:30Z")

</div>

Hi there, if you want to DM a link to the course we can take a look and try to diagnose what the issue is.  
cheers-Sam

---

<div class="post-metadata">

**Author:** ![williams\_al](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@williams\_al](https://community.evolveauthoring.com/u/williams_al)\
**Post date:** [February 15, 2023, 2:28pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/10 "2023-02-15T14:28:59Z")

</div>

Hi Sam, Josh Perez in the Help Desk team has helped me out with this now! Thanks for reaching out though!

Is there a way to have an option to close the course after completion or a completion message at the end of the last page?

---

<div class="post-metadata">

**Author:** ![Sam\_Cook\_Evolve\_LQA](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/sam_cook_evolve_lqa/32/902_2.png) [@Sam\_Cook\_Evolve\_LQA](https://community.evolveauthoring.com/u/Sam_Cook_Evolve_LQA)\
**Post date:** [February 15, 2023, 2:55pm UTC](https://community.evolveauthoring.com/t/triggers-and-logic/2140/11 "2023-02-15T14:55:27Z")

</div>

Hi @williams_al , there’s a couple of different ways to do it, but it depends how your course is set to complete. Are you using the Course Attainment or Course Assessment extensions? Or is it set to Logic Completion?
