Creating a comments section

Hi all -

Trying to create a comments section (sort of like a blog).

I followed the guide to creating a “Medium” clone to a T, but my comments section isn’t working.

I created my repeating group.

And set the parameters…

Screen Shot 2021-04-13 at 8.36.11 AM

I created a multiline text input and an “add comment” button.

And then I created the workflow for the “add comment” button.

Any ideas why this isn’t working? The comments are being logged in the app data, but they are not being displayed in the repeating group.

Thanks in advance :slight_smile:

Just bumping this in case someone has an idea :slight_smile:

Just looking at it, but is the source for the comment’s repeating group a field that is a list of comments? If it is, you have two options to fix this:

  1. Add another action is the create comment workflow to add the newly created comment to the page’s list of comments.

Or the other option

  1. Change the repeating group data source to do a search for comments and set the post to the current page post.

Without seeing the app, I think those are the options that could fix it.

You nailed it.

I did option #2, and it works perfectly.

Thanks so much, man!