Add a review if it doesn't exist or update it if it exists

Do your reviews have a many-to-many or one-to-many relationship with the record you want reviewed?

If so, you can have a rectangle and 2 buttons with visibility settings.

Here’s a beautiful example that I set up on my Online Learning LMS template:

The top group is displayed when there are 0 reviews between the course and the user. The bottom group displays when there is a review.

In the first group, when clicking the star rating, it creates the review and links to the “Rating Create” screen. In the 2nd group, when clicking the edit button, it takes them to the “Rating Edit” screen.

1 Like