# Do something based on switch and list selection

**URL:** https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857
**Category:** Questions about Thunkable X
**Created:** [July 27, 2019, 1:28am UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857 "2019-07-27T01:28:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![myusername](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@myusername](https://community.thunkable.com/u/myusername)
#### Post date: [July 27, 2019, 1:28am UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857/1 "2019-07-27T01:28:50Z")

</div>

Hey everyone, I am using Thunkable X Pro.

I have 2 switches and 1 List.

I would like to show the user some text based on their selections in these switches and list.

E.g. the user selects **true** , **false** , and **1** , I would like to show them text that says “Low” . Or if say **true** , **true** and **5** were selected the answer would be “High” .

If someone could get me started it’d be greatly appreciated. Cheers

---

<div class="post-metadata">

### Author: ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)
#### Post date: [July 27, 2019, 2:49am UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857/2 "2019-07-27T02:49:59Z")

</div>

You make each switch “on Value Change” event, and the list viewer “Item Click” event all call the SAME procedure, which uses the combination of switches values and list item to derive your response.

With this, no matter which of the 3 item is changed will result in a re-evaluation of the response based on all 3 possible input.

---

<div class="post-metadata">

### Author: ![myusername](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@myusername](https://community.thunkable.com/u/myusername)
#### Post date: [July 27, 2019, 1:09pm UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857/3 "2019-07-27T13:09:43Z")

</div>

Thanks CBVG

---

<div class="post-metadata">

### Author: ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)
#### Post date: [July 27, 2019, 1:10pm UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857/4 "2019-07-27T13:10:13Z")

</div>

Mark his post as solution! ✅ 😉

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:12pm UTC](https://community.thunkable.com/t/do-something-based-on-switch-and-list-selection/157857/5 "2024-11-08T12:12:06Z")

</div>


