Star Rating Component - I need to limit usage

Hey everyone, so I am currently adding a rating system to a clients website for bands/musical groups. I am able to get everything to function properly and the rating is added, then displayed with an average. What I can not seem to figure out is how to limit this to one rating per user.

right now a user can add an infinite amount of ratings, I want to limit this to one rating, per band, per user with an option to edit an existing rating if they feel inclined to do so.

any insight to this is greatly appreciated!

Add a relationship between users and the bands, call it “Raters”

When the user submits a band rating, add them to the Band’s property Raters.

Run the rating action as conditional “If user is not in current band’s raters, do X”

Ahh there we go! Thank you so much!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.