# How to display questions one by one with "Previous" and "Next" buttons in Adalo?

**URL:** <https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426>\
**Category:** Database\
**Created:** [January 4, 2025, 2:39pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426 "2025-01-04T14:39:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Digiminds](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@Digiminds](https://forum.adalo.com/u/Digiminds)\
**Post date:** [January 4, 2025, 2:39pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/1 "2025-01-04T14:39:17Z")

</div>

Hello everyone,

I’m working on an app in Adalo and need help setting up a screen that displays questions one by one, with buttons to navigate between them.

Here’s my situation:

1. **Database:**

- I have a collection of questions in Adalo, each with a unique `ID`.
- The questions are divided into 4 categories (but for now, I just want to display all questions without filtering).

1. **What I want to achieve:**

- Create a screen that displays one question at a time.
- Add two buttons: “Previous Question” and “Next Question” to navigate between the questions.
- When the user clicks “Next Question,” the screen should display the next question in the database (based on the `ID`).
- When the user clicks “Previous Question,” the screen should display the previous question.

1. **What I’ve done so far:**

- I’ve imported my database into Adalo.
- I’ve created a screen with a **Single Item** component to display a question.
- I’ve added “Previous” and “Next” buttons.

1. **Where I’m stuck:**

- I don’t know how to configure the buttons to navigate between questions based on their `ID`.
- I’m not sure how to handle the limits (preventing going beyond the first or last question).

Could someone help me configure these buttons so they work correctly? If possible, could you explain the steps to follow in Adalo (without code, as I can’t use any)?

Thank you in advance for your help! 😊

---

<div class="post-metadata">

**Author:** ![rlongori](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@rlongori](https://forum.adalo.com/u/rlongori)\
**Post date:** [January 4, 2025, 4:10pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/2 "2025-01-04T16:10:04Z")

</div>

using this solution

> [@Image Slider - adding more than one photo in listings](https://forum.adalo.com/t/image-slider-adding-more-than-one-photo-in-listings/5972/4):
>
> You will need to have either a separate form on this page or another screen with a form that let’s you add pictures that are tied to the listing. The beginning of this video shows how that can work: [Adalo: Creating a Rotating Image Carousel or Gallery with Unlimited Images - YouTube](https://www.youtube.com/watch?v=MSn-ttUEMN0)

---

<div class="post-metadata">

**Author:** ![Digiminds](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@Digiminds](https://forum.adalo.com/u/Digiminds)\
**Post date:** [January 6, 2025, 8:24am UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/3 "2025-01-06T08:24:10Z")

</div>

Hello 🙂

Okay, thanks, I’ll try to apply this solution to my project and get back to you to let you know the result.

Best Regards,

Guillaume

---

<div class="post-metadata">

**Author:** ![afonso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonso/32/19120_2.png) [@afonso](https://forum.adalo.com/u/afonso)\
**Post date:** [January 6, 2025, 4:13pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/4 "2025-01-06T16:13:09Z")

</div>

The question you’re displaying needs to be a list with a maximum number of visible components = 1. That list is filtered based on “Question ID \> Last Question Seen”, where Last Question Seen is a number property you create in the User collection. Every time a user selects next or previous, it updates that number property in the Logged In user.

Hope this is helpful.

---

<div class="post-metadata">

**Author:** ![Digiminds](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@Digiminds](https://forum.adalo.com/u/Digiminds)\
**Post date:** [January 6, 2025, 7:29pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/5 "2025-01-06T19:29:43Z")

</div>

Hello,

Thank you for your reply.  
Yes it helps, but it’s too technical, or too summarized, and I don’t understand how to implement it in my case ☹

---

<div class="post-metadata">

**Author:** ![afonso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonso/32/19120_2.png) [@afonso](https://forum.adalo.com/u/afonso)\
**Post date:** [January 6, 2025, 7:35pm UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/6 "2025-01-06T19:35:20Z")

</div>

- Create a number property in the Users collection called, for example, “question number I’m seeing”

- The Questions collection should have a Ranking property (or you can use the ID)

- When the user opens the questionnaire, update that “question number I’m seeing” property to 0 (or to the number of the first question you want them to see)

- The question you’re showing on that screen should actually be a list of questions, with maximum number of visible components = 1, and it should be filtered by, for example, Question Ranking \> Question Number I’m Seeing. This ensures that the user only sees the first question you want them to see.

- When the user selects “Next”, you should Update → Logged In User → Question I’m Seeing → [Question I’m Seeing + 1]

---

<div class="post-metadata">

**Author:** ![Digiminds](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@Digiminds](https://forum.adalo.com/u/Digiminds)\
**Post date:** [January 7, 2025, 9:25am UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/7 "2025-01-07T09:25:39Z")

</div>

Thank you so much,

I’ll try to apply this solution to my project and get back to you to let you know the result.

Best Regards,

Guillaume

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [January 8, 2025, 11:48am UTC](https://forum.adalo.com/t/how-to-display-questions-one-by-one-with-previous-and-next-buttons-in-adalo/52426/8 "2025-01-08T11:48:20Z")

</div>

Hi @Digiminds,

This tutorial might be useful for you to find some ways to solve the problem: [https://youtu.be/GR4onw-TCHA](https://youtu.be/GR4onw-TCHA).

Best,  
Victor.
