Create comment system under posts

hello everyone , I need help

How can I create a comment system wich refer to each item in a repeating group. Like facebook comment system under each post

1 Like

You need to create a nested RG, The main RG is your list of post then inside that add another RG which is the list of comments

You need 2 tables in your database.

  1. Posts
  2. Comments
    In the comments table you need a field “Parent comment” that that has the datatype of comment.

On the front end you will need to create a nested repeating group. The outer group displays comments that have the “Parent comment” empty and the internal repeating group will show comments that have the parent comment in this field

I hope this helps.

If you have any questions do let me know :slight_smile:

2 Likes

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