Conditional iterations and floating display for a peak perfomance app

Hi, amazing community. I’m very new to adalo (and no coding), so please forgive my basic questions. (COLLECTIONS are in capital letters)
The context (simplified): I want to create an app to “dissolve” psychological TRAITS. This is done guiding an USER throught some iterations of 4 questions, for which we have RESPONSES, with the collection having one property “number of question”. As the user might stop in the middle of a process, then we also have SESSIONS. Relationships : U - TTT / T - SSS / S - RRR

My question is about the display and the iterations
I’d like to make the screen as free of distractions as possible. Can I have the questions appearing one by one, the last replacing the previous at the top in the “question area” and then “transcribed” in a smaller font just underneath so the user can still have the history of a session?

It would look like this :
__________________________
|_________ Home _______ |
| *Question area * |
|-----------------------------------------|
| Q11 response |
| Q21 response |
| Q31response if=0 then stop |
| Q41 response |
| Q12 response |
| Q22 response |
| Q32 response if=0 then stop |
| Q42 response |
| Q13 response |

		                      ...

This is how I would approach it.

collections:
questions

answers relationships:(question, answered_by_user), fields: answer(text / bool / integer), index (for sorting)

users

two lists on your screen

  1. next question max records = 1, sort = index low-high, filter: index = logged in user > next question.
  2. answered filter: answered_by_user = logged in user, sort = index high-low

When a user answers a question you add the record in answers and update logged in user > next question with the index of the question they have answered.

Good luck :+1:

1 Like

Hi Rozza - thank you so much. I’ll meditate on your ideas. If I ever got stuck, do you mind if I come back to you?

Yes please do that. After some meditation, you’ll need plenty of that :smiley:

Hi there! I’ve been watching as many videos on adalo as possible, so I’m starting to understand, but not everything. Here are my questions, if you mind answering those, that would be great;
Q1) Collection Questions: how can I structure that if Question 0, 1, 3 and 4 are text and Q2 an integer that has to compared to 0 ?
Q2) Am I understanding correctly if I imagine such a collection made of 5 records with 2 properties : question and index … or
Q3) Is index really a property of Answers?
Q4) Could you kindly tell me again (being very specific) whar are the properties of the 3 collections? (I guesses answered_by_user is a filtered answer??)

Hey @emanolito

This is getting complex… I would start approaching it like this, no promise this is your solution…

  1. Have a question_type value in the questions table and a question_compare field
    Then you will need a lot of conditional visibility.
  2. Yes, but that might change with your latest requirements.
  3. Yes because you want to show the answers, most recent first.
  4. I have to leave it there I’m afraid. You can book a call with me if you need 1-1 coaching or solutions.

Good luck :+1:

1 Like

Hi Rozza
“1-1- coaching or solutions” - does it mean you would charge for that? how much?
Thank you for your answers

Hi @emanolito

Yes it is charged, but reasonable, you can book a call if you want some help figuring this out. Book a meeting

There are others on the forum who would offer the same service too.

Do you think I’ll get it in a $20 session? how much would you ask me to do it yourself?

I’ll PM you :+1:

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