Forum Documentation Showcase Pricing Learn more

How to display if a user has upvoted/downvoted a post

Hi,

I’m building an app similar to urban dictionary where people can post and vote on words.

The voting system currently adds a vote to current cell of a repeating group and adds the user to a list of upvoters/downvoters.

I want the app to also show the user if they have upvoted or downvoted a post by changing the voting link image. Can someone guide me in figuring out how to do this?

Thanks

Hi,

You can set condition on upvote/downvote image “when current cell’s list of upvoter/downvoter containts current user” --> this element is/isn’t visible, or icon color xxxx…etc

Oh, yeah… that works. Thanks!