Delete one item from a repeating group (Discussion Post)

Hello, in the site I am trying to make I want users to be able to delete their posts from their account page. However for some reason I am having trouble doing this. I am not sure if I just want to remove the post from their account (What they see) or delete it from the entire database. Any advice on a way to do this simply? Thank you


Great question! If you want to delete the post from the database entirely, and your posts are displayed in a repeating group, you might have an icon that when clicked, triggers a workflow to delete the current cell’s post. If you only want to make this post invisible, you might add a yes/no field to the posts data type and display only posts in this repeating group where that field is equal to yes. That way, when the icon is clicked, instead of deleting it entirely, you can set this field to “no,” so it no longer meets the constraint to appear in the list of posts. Let us know if that helps or if you have any more questions!

1 Like

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