Hello everyone, I’m new to Bubble.io and I made a questionnaire application where an answer could be yes or no. Each question is on a different page and once the User is done with the quiz the data (as shown in the picture) is not on the same row. Can someone please tell me how to fix this?
You’re obviously creating a new entry in the database for each answer…
When, presumably, you want all the answers to be on the same entry… so just don’t create a new entry each time a question is answered, and instead just update the existing entry.
Oh okay, can you please tell me how to do this? Sorry I just started learning not too long ago.
Well without seeing your current workflow I can only guess what you’re doing…
But presumably you’re using ‘Create a new Thing’ every time an answer is submitted.
Instead, you need to ‘Make changes to a thing’ that thing being the existing Response for the particular User.
Okay I’ll change that. Thank you so much.
I’ve tried to do make a change, however once I answer the questions it didn’t input the answers in the database. I’ve tried every combination in the drop down with “things to change” and it wont input anything in the table. I’m not sure if the images below help at all, let me know if you need to see anything else.
Does the parent Group actually have a Response? (my guess is that it doesn’t).
But you can use the debugger to check what’s going on and see exactly where the issue lies.
Should I make a field within the User data type that connects with the Response data type?
I wouldn’t advise doing that… you can refer to the User from the Response datatype (either with the default Created by Field, or an additional User field).