# Head is Melting: List of Comments on Question

**URL:** <https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007>\
**Category:** Database\
**Created:** [August 19, 2018, 7:19pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007 "2018-08-19T19:19:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 19, 2018, 7:19pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/1 "2018-08-19T19:19:55Z")

</div>

I am unable to get my head around something, please help. I am only trying to put an RG inside an RG to achieve a list of comments on each Question.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/7/074f05682b728016e86794317ca69eab9bd57864.png)

I am not sure why nothing is being written to the database although the relationship between Question Table and Comments table seem correct.

Here is my link to the App:

> **[Bubble Editor - qingdom](https://bubble.io/page?name=index&id=qingdom&tab=tabs-2)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 20, 2018, 6:53am UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/2 "2018-08-20T06:53:17Z")

</div>

I pay 100 dogecoins for the first to answer the question.

---

<div class="post-metadata">

**Author:** ![mishav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mishav/32/6420_2.png) [@mishav](https://forum.bubble.io/u/mishav)\
**Post date:** [August 20, 2018, 8:37am UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/3 "2018-08-20T08:37:13Z")

</div>

Does the workflow run, or is the condition on the button event preventing it?

I suggest copying the condition, and individually each of its components, to a text element on the page, so you can see what it looks like before pressing the button.

---

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 20, 2018, 8:50am UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/4 "2018-08-20T08:50:14Z")

</div>

Yes the condition is run because the input field is reset and the qstatus is changed to ElabNeeded but the database is not edited at all. So maybe there’s something wrong in the tables relationship? But even the questionvalidation table isn’t edited.

---

<div class="post-metadata">

**Author:** ![mishav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mishav/32/6420_2.png) [@mishav](https://forum.bubble.io/u/mishav)\
**Post date:** [August 20, 2018, 9:43am UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/5 "2018-08-20T09:43:29Z")

</div>

How about the individual step conditions, are they preventing each database step?

Can you display the same condition somewhere on the page?

Instructions for running your app? I get a nearly empty page …

---

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 20, 2018, 12:03pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/6 "2018-08-20T12:03:27Z")

</div>

OK, go to this preview page first:

> **[Bubble - Visual Programming](https://qingdom.bubbleapps.io/version-test)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Login with Google:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/5/45d9e5a765e39558caaffaa108e64b19a7af78f3.png)

Then click on Ask:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/0/f062315cbac42948d0cba06d3bdcea75edec5a54.png)

Write a question then go to Mod QL1 tab:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/5/e5553b6acc7c3b755289d3fdd2f4794b9708888a.png)

On your question click ON IT button, then vote with thumbs UP button and your question will go to the next module filter. Do so until your question reaches the first module on Mod QL2 tab here:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/8/f80c15cf52c60dedb7d6afa075757929da04b09c.png)

Then click ON IT button to be able to edit the INPUT field. Wirite a comment and submit button will appear. When you click submit, the comment should be registered in the database, but it’s not.

---

<div class="post-metadata">

**Author:** ![kh.japtjong](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kh.japtjong/32/13255_2.png) [@kh.japtjong](https://forum.bubble.io/u/kh.japtjong)\
**Post date:** [August 20, 2018, 12:26pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/7 "2018-08-20T12:26:38Z")

</div>

Shouldn’t this also not contain Current Cell?

![image](https://us1.discourse-cdn.com/bubble/original/3X/4/1/415fa83329f658d7160bc7bc32b84b02263ea755.png)

in other words: ElaborationComment = Current cell’s ElaborationCommentInput’s Value

---

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 20, 2018, 12:29pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/8 "2018-08-20T12:29:52Z")

</div>

That’s the way it’s already made, in List to change it says “Current cell’s Question’s Elaboration Comment”

---

<div class="post-metadata">

**Author:** ![arto.eg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/arto.eg/32/26559_2.png) [@arto.eg](https://forum.bubble.io/u/arto.eg)\
**Post date:** [August 20, 2018, 8:55pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/9 "2018-08-20T20:55:22Z")

</div>

Ok, thanks to all who were trying to help me again. I have solved my problem, and I am sending the 100 dogecoins to me right now.

There were many many errors preventing the desired outcome:

1. Wrong database relationships. I had to make sure that QuestionID is not a list in comments table, because each question has many comments so the relationship here is 1 to many, and not many to many.
2. Wrong data source of the Repeating Group INSIDE the main repeating group. I should have made “Do Search for Comments” instead of choosing the relationship field of Question table to comments table.
3. Trying to modify an existing thing, when in fact there is NO THING to modify. In other words, I was even choosing the wrong option, I should create a NEW comment, because there is no existing comment to modify. Hence no records in the DB.

Finally, finding the answer with so many problems was very tough. I hope one day there is a crash course in DB relationships to make things easier for noobs.

---

<div class="post-metadata">

**Author:** ![serviluvapp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serviluvapp/32/88387_2.png) [@serviluvapp](https://forum.bubble.io/u/serviluvapp)\
**Post date:** [September 22, 2021, 10:34pm UTC](https://forum.bubble.io/t/head-is-melting-list-of-comments-on-question/36007/10 "2021-09-22T22:34:20Z")

</div>

Total doge enthusiast! Glad you figured it out sorry I didn’t see this to begin with. I would have called you and walked you through it for 100 doge! 🙂 I’m trying to get the doge community to accept bubble. I had to learn just about everything on my own using the forum. Many times the forum just didn’t have the solution. The database relationships were like light bulbs exploding that broke what I trying to build. Systematically rebuilding the relationships as I picked them up. Glad you got to keep your doge, sorry I couldn’t unload it for ya! 😉
