# Condition Statement

**URL:** <https://community.thunkable.com/t/condition-statement/2460054>\
**Category:** Questions about Thunkable X\
**Created:** [June 10, 2023, 12:54pm UTC](https://community.thunkable.com/t/condition-statement/2460054 "2023-06-10T12:54:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ospola281r](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@ospola281r](https://community.thunkable.com/u/ospola281r)\
**Post date:** [June 10, 2023, 12:54pm UTC](https://community.thunkable.com/t/condition-statement/2460054/1 "2023-06-10T12:54:13Z")

</div>

Hello to everyone!  
Kindly see this scenario  
I created a screen and the user is to input answer to the question. Example 1+1=2  
So the user is to input the answer which is 2 so if the users gets the answer it displays a screen marked and if the users fails e.g inputting 1+1=3.

Someone should please help out, it is not retrieving the variable. Thanks for your help

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 10, 2023, 3:03pm UTC](https://community.thunkable.com/t/condition-statement/2460054/2 "2023-06-10T15:03:40Z")

</div>

Please post a screenshot of your blocks.

---

<div class="post-metadata">

**Author:** ![ospola281r](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@ospola281r](https://community.thunkable.com/u/ospola281r)\
**Post date:** [June 10, 2023, 4:40pm UTC](https://community.thunkable.com/t/condition-statement/2460054/3 "2023-06-10T16:40:15Z")

</div>

![IMG_20230610_173900_670](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/4/f4b4f32d38a774be3322d9a45ad544f8a7870d8d.jpeg)

Here is the blocks thanks for your guide

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 10, 2023, 7:49pm UTC](https://community.thunkable.com/t/condition-statement/2460054/4 "2023-06-10T19:49:36Z")

</div>

You need a variable for the question number. Start its value at 1. Then use that variable for the index # of your List blocks.

---

<div class="post-metadata">

**Author:** ![ospola281r](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@ospola281r](https://community.thunkable.com/u/ospola281r)\
**Post date:** [June 11, 2023, 12:29am UTC](https://community.thunkable.com/t/condition-statement/2460054/5 "2023-06-11T00:29:38Z")

</div>

Thank tatiang  
However, I didn’t get that please can you explain better or anyway you can show it to me. Thanks for the help I do appreciate.

Where would that particular variable block be inserted

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 11, 2023, 2:13am UTC](https://community.thunkable.com/t/condition-statement/2460054/6 "2023-06-11T02:13:53Z")

</div>

Can you post the project link and then I can modify the blocks you used?

---

<div class="post-metadata">

**Author:** ![ospola281r](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@ospola281r](https://community.thunkable.com/u/ospola281r)\
**Post date:** [June 11, 2023, 5:05am UTC](https://community.thunkable.com/t/condition-statement/2460054/7 "2023-06-11T05:05:07Z")

</div>

Yes sure thanks

[https://x.thunkable.com/copy/ae97b74c42b97fa060381b88593a43dd](https://x.thunkable.com/copy/ae97b74c42b97fa060381b88593a43dd)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 11, 2023, 8:06am UTC](https://community.thunkable.com/t/condition-statement/2460054/8 "2023-06-11T08:06:06Z")

</div>

Here are the blocks I used:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7dc290d6618eff9e67b826e7c3594c3d36e54f53.png)

And the modified project: [Thunkable](https://x.thunkable.com/copy/dc253809f3f007eea07c2c8901eb1733)

With some additional modification, this would allow you to use the same screen for **all** questions as long as the format of questions is similar.

---

<div class="post-metadata">

**Author:** ![ospola281r](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@ospola281r](https://community.thunkable.com/u/ospola281r)\
**Post date:** [June 11, 2023, 9:45am UTC](https://community.thunkable.com/t/condition-statement/2460054/9 "2023-06-11T09:45:03Z")

</div>

Checking it out now Tatiang!  
Thanks for the help and support really appreciate

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [September 9, 2023, 9:45am UTC](https://community.thunkable.com/t/condition-statement/2460054/10 "2023-09-09T09:45:53Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
