# Preserve visibility of star ratings after being submitted by user

**URL:** <https://community.glideapps.com/t/preserve-visibility-of-star-ratings-after-being-submitted-by-user/22695>\
**Category:** Ask for Help\
**Created:** [February 12, 2021, 8:17pm UTC](https://community.glideapps.com/t/preserve-visibility-of-star-ratings-after-being-submitted-by-user/22695 "2021-02-12T20:17:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 12, 2021, 11:36pm UTC](https://community.glideapps.com/t/preserve-visibility-of-star-ratings-after-being-submitted-by-user/22695/2 "2021-02-12T23:36:13Z")

</div>

I have never used a rating component outside a form. I usually write the rating via a form/add row action to a Ratings sheet so I can do rollups and show ratings afterwards.

There’s another method that you can do with compound action, which is:

- Show a rating component
- Have a button that says something like “Send your rating”.
- Increment a “Global rating total” column by the rating value.
- Increment a “Global rating count” column by 1.
- Increment a “User rating” user-specific column by the rating value.

Then you can have a math column to have the average rating of the item, while also keep the user-specific rating to show it right on the same screen.

---

_[View the full topic](https://community.glideapps.com/t/preserve-visibility-of-star-ratings-after-being-submitted-by-user/22695)._
