Reporting Users

Hello, in my app users can report other users and the reported users are added onto a repeating group only an admin can see. The problem I am facing is that when a user is reported more than once, instead of a new report being made, it replaces the one prior. Im stuck on how to fix the issue. Any help is appreciated!

I would recommend creating a new data type 'Reports", with fields for User doing the reporting, User being reported, the Post or thing that’s being reported. You then can display in your Repeating Group a list of all unique reported users, with a count for how many times they’ve been reported.

Alternatively you could have a field of type Number on each user, and each time they’re reported, add +1 to that number.

Thank you I will give this a try!

1 Like