How to let users reply to an individual comment not just entire thread

On my site, users can comment on a post or an article but at the moment I can only display all comments for that post. What I really wanna do is have it so users can reply to another user’s comment already there (essentially to start a sub comment or new thread of comments under that one). just like Reddit or facebooks, etc

I did this by having a thing called replies. Whenever one is created add it to a list of replies attached to the original comment. Put a repeating group for replies inside the first cell of the repeating group for comments and set the data to current cell’s comment’s replies. Put it in a collapsible group that’s not visible when there are no comments and bam, you’ll have a nice looking thread.



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