# How to Show Next Question in Multiple Choice Game

**URL:** <https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154>\
**Category:** Ask for Help\
**Created:** [September 2, 2025, 10:54am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154 "2025-09-02T10:54:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DHIGGS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dhiggs/32/91548_2.png) [@DHIGGS](https://community.glideapps.com/u/DHIGGS)\
**Post date:** [September 2, 2025, 10:54am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/1 "2025-09-02T10:54:46Z")

</div>

Running into another issue and I’m not sure if i should start a new post, or continue replying to my initial question. So i apologize in advance if this is the wrong way.. 🙂

Current set up & issue

- Building an app where users go through a series of multiple choice questions.
- I have a games table with approx 50 columns and approx 50 rows of questions (more will be added in the future)
- I set up a USERs table with different ROW IDs so each app user has a different experience not linked to any other user
- After each multiple choice question, i want a “Next” button to appear which directs to the next multiple choice question, and then another multiple choice question, etc etc.

I am getting stuck creating this component to direct users to the next game/question. I got as far as creating a component, but it only shows the details of the current game when clicked. (Not a new game). The AI has been very helpful up until now for this particular feature.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 2, 2025, 11:33pm UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/2 "2025-09-02T23:33:56Z")

</div>

> [@DHIGGS](#):
>
> Running into another issue and I’m not sure if i should start a new post, or continue replying to my initial question. So i apologize in advance if this is the wrong way.. 🙂

Generally we suggest opening a new thread if the issue is unrelated. (That’s why I moved the post here).

> [@DHIGGS](#):
>
> I am getting stuck creating this component to direct users to the next game/question. I got as far as creating a component, but it only shows the details of the current game when clicked. (Not a new game). The AI has been very helpful up until now for this particular feature.

I would:

- Add a rowID column to your questions table.
- Add a lookup targetting that rowID column, so you get an array of rowIDs.
- Use a find element index column, find the current row’s rowID in the array above. The result is a 0-based list of indexes.
- Add a “current index” column to the user profiles table.
- Have a screen where the user presses a “Start Game” button that writes 0 to the “current index” column and show a new screen.
- Add a custom collection to that screen, target the questions table, filter the row’s index equalling to “current index”.
- Next button would increase current index by 1. Previous would decrease. Hide Next when Current index = Max index from the table (use a rollup). Hide Previous button when Current index = 0.

---

<div class="post-metadata">

**Author:** ![DHIGGS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dhiggs/32/91548_2.png) [@DHIGGS](https://community.glideapps.com/u/DHIGGS)\
**Post date:** [September 4, 2025, 3:13am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/3 "2025-09-04T03:13:08Z")

</div>

I do not see how/where to find an element index column. I’ve searched all of the available column options, even used the AI to help locate. I see basic, computed, AI, and Integrations (along with few others). But nowhere do I see element index columns.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 4, 2025, 5:49am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/4 "2025-09-04T05:49:33Z")

</div>

Have you tried the search when selecting the column type?

 ![1000005786](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/95ef2f8abf758b0cd65eb2cc8fef6863985d2515.jpeg)

---

<div class="post-metadata">

**Author:** ![DHIGGS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dhiggs/32/91548_2.png) [@DHIGGS](https://community.glideapps.com/u/DHIGGS)\
**Post date:** [September 10, 2025, 12:51pm UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/5 "2025-09-10T12:51:51Z")

</div>

> [@ThinhDinh](#):
>
> Have a screen where the user presses a “Start Game” button that writes 0 to the “current index” column and show a new screen.

Getting stuck at this point. I have a screen where the user presses “Play”, but not sure how to direct it to write 0 to the “current index” and show a new screen. Here is a screenshot below:

 ![Screenshot 2025-09-10 084943](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/4/142cda5548278284e7dfa43e32a2a988c13dd7de.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 11, 2025, 12:18am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/6 "2025-09-11T00:18:14Z")

</div>

Instead of “Show new screen”, you would click on that dropdown and create a custom workflow (hidden under Workflows for [Table Name] \> Create new workflow).

In there, you would be able to chain multiple actions inside a workflow. You would have an action to set 0 to “current index” first, then show the new screen.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [September 18, 2025, 12:18am UTC](https://community.glideapps.com/t/how-to-show-next-question-in-multiple-choice-game/84154/7 "2025-09-18T00:18:24Z")

</div>

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