Hi guys, I’m trying to learn bubble for two weeks. To be honest I’m in the very beginning of the road. So, maybe it’s an easy thing in your world but I could not find any solution for that. Thanks for the support!
Here is my question: I’m trying to build of the database structure of a learning app. There are Courses and Chapters. How can I detect if the user completed any chapter or any courses? I think that I can create boolean for that but how can I bind this data with the user?
1 Like
Hi @batuhanbilginn,
Welcome!
I highly recommend you do some of the lessons here: bubble.is/lessons . It’ll help you understand some of the fundamentals of saving data, creating workflows, etc.
That said, one way to do this is to create a field under the User data type called “Completed Courses” (or Completed Chapters, or a separate field for each!). This field’s value type would be a custom data type you create for Course and it would be a list.
Depending on how you structure the interface and navigation of the course and lessons, whenever the user clicks a button to mark a course or chapter as complete, you’d create a workflow (from the button click) to “make a change to current user.” The change would be made to the Completed Courses field. “Completed Courses add Current Course”
There’s a bit more to it, but hopefully that high-level description will guide you. What you’re building is 100% achievable. I’ve built many course, quiz, and survey apps myself. My own course on Bubble was also built on Bubble. Feel free to reach out if you want to chat more about it in a coaching session. I’d love to help you!
Cheers 
Gaby at Coaching No Code Apps (formerly Coaching Bubble)
Courses & Products, Tutorials, Private Coaching, and High-level Development
Start Learning Today 
Hi @romanmg, thanks for the support. You saved my day!
I’m very happy and excited to be joined this very supportive community 
1 Like