Best Solution to Display a list to one user and removed the list engaged by same user

I have been on this for days bubble support team have been immensely supportive but my target has not been archived.

I am building an app where users answer questions and when a Question is answered by “(current User )’ the question gets removed from the users list of questions and shows the next question that has not been answered

In my data table my set up is like this

Question
User
Answered - yes/No lists

On user data table I have questions - Question ( List of Questions)

In the repeating group where questions are displayed I have put a constrain

To search for list of questions with answer = No

And in my workflow I added remove list then show next Question

My problem is when question is answered the repeating group does not show
next question and the Question marked answered is still seen

I need help for the best solution to this

1
make the repeating group show only questions with value answered “no”

2
Make the repeating group show next question after a question has been answered by current user.


Just put the constraint directly on the RG datasource… no need to use workflow actions to remove items from the RG, that’s just over complicating things here…

i.e. search for question who’s User is the current User and who’s Answered is no

(not what you’ve currently got)

I’m not sure what you mean here… your RG is showing list of questions, no? So what do you mean by ‘show the next question’?..

There multiple questions so once one is answered I want the next to show

I don’t understand… show where? why isn’t it already in the RG? or is it?..

Have you got an example, or screenshot of what you mean?

Thanks Adam
I appreciate your response


There are multiple questions so, I want the repeating group to show the next question not answered after each one is answered I figured there is an error in my set up and workflow so Im trying to make some changes

Problem now is that the repeating group continues to display a question that has been answered and does not show the ones that have not been answered

Your search constraint makes no sense…

I already explained in my previous reply what you need to use in your search constraints…

So change your search constraints to:

User = Current User
Answered = No

I still don’t know what you mean by ‘show the next question’?..

Show it where? And how are you defining what the next question is?

Thanks let me try this

Hello Adam

Thanks for the support but I am still battling with this, attached is my set up, my RG set up, DB set-up and workflow,

I have three problems

1 - the repeating group does not show next question after the user answers
2 - I used another set-up the repeating group shows the next questions but gets stalled on the next question

3 ; and with the other method once the user signs out and signs back in, the repeating group starts from first question

I need urgent help for this due to a presentation coming up today, every support from bubble has lead me to a dead-end, I got it to work perfecting at a point but when I try a restore the system forces me to merge

Please community provide me support it will be much appreciated



This topic was automatically closed after 70 days. New replies are no longer allowed.