# Rating in multiuser environments

**URL:** <https://community.glideapps.com/t/rating-in-multiuser-environments/39872>\
**Category:** Ask for Help\
**Created:** [March 20, 2022, 2:39pm UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872 "2022-03-20T14:39:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganymed](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ganymed/32/27001_2.png) [@Ganymed](https://community.glideapps.com/u/Ganymed)\
**Post date:** [March 20, 2022, 2:39pm UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/1 "2022-03-20T14:39:05Z")

</div>

Ratings are really nice way to provide feedback.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/1/c16ba99b2ed4123dbabbcdc3a7c6cffbda5b2593.png)  
In a multiuser environment I would need a simple way to calculate the average value of the feedback or maybe even show based on how many. Does anyone have a light solution?

---

<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:** [March 21, 2022, 12:08am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/2 "2022-03-21T00:08:24Z")

</div>

Here’s my way to approach this.

> [@Preserve visibility of star ratings after being submitted by user](https://community.glideapps.com/t/preserve-visibility-of-star-ratings-after-being-submitted-by-user/22695/2):
>
> 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…

---

<div class="post-metadata">

**Author:** ![Ganymed](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ganymed/32/27001_2.png) [@Ganymed](https://community.glideapps.com/u/Ganymed)\
**Post date:** [March 22, 2022, 3:03am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/3 "2022-03-22T03:03:34Z")

</div>

Thanks… 😀 .did not thing of it but than how do you display the result…star and such…

---

<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:** [March 22, 2022, 3:20am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/4 "2022-03-22T03:20:28Z")

</div>

I use Unicode characters. ★ and ☆.

---

<div class="post-metadata">

**Author:** ![Ganymed](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ganymed/32/27001_2.png) [@Ganymed](https://community.glideapps.com/u/Ganymed)\
**Post date:** [March 22, 2022, 3:35am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/5 "2022-03-22T03:35:55Z")

</div>

Ah way beyond my current skill, could you help?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 22, 2022, 3:51am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/6 "2022-03-22T03:51:17Z")

</div>

[https://unicode-table.com/en/search/?q=star](https://unicode-table.com/en/search/?q=star)

Just copy/paste the ones you want to use.

---

<div class="post-metadata">

**Author:** ![Ganymed](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ganymed/32/27001_2.png) [@Ganymed](https://community.glideapps.com/u/Ganymed)\
**Post date:** [March 22, 2022, 4:00am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/7 "2022-03-22T04:00:37Z")

</div>

Thanks, and how do I represent a 3.2 rating? 🕶

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 22, 2022, 4:06am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/8 "2022-03-22T04:06:17Z")

</div>

haha, I have no idea. I guess you’d need to get a bit creative 😉

---

<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:** [March 23, 2022, 1:04am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/9 "2022-03-23T01:04:18Z")

</div>

I have a solution ready.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/f/efdfc4e06662cd7de0f8858884913899a3165ad8.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/7/a71ca7b92b4c817f37f8da03df6d41133e95ef6c.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/d/4d896fa66d5986a05caeb532758ccf50fbeb7667.png)

Experimental Code link:

`https://thinhdinhlca.github.io/rating-stars/`

Then display the result in a rich text component.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 23, 2022, 1:12am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/10 "2022-03-23T01:12:33Z")

</div>

hehe, nice 🙂

but… I was just looking at your source. Is a code column actually necessary? I mean, couldn’t you just use a standard template column and use the calculated `perc` value as a replacement?

---

<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:** [March 23, 2022, 1:14am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/11 "2022-03-23T01:14:06Z")

</div>

Yes, that’s true, I was lazy so I just want to paste the link to generate it the next time 😅

---

<div class="post-metadata">

**Author:** ![JuanM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juanm/32/33666_2.png) [@JuanM](https://community.glideapps.com/u/JuanM)\
**Post date:** [March 23, 2022, 3:29am UTC](https://community.glideapps.com/t/rating-in-multiuser-environments/39872/12 "2022-03-23T03:29:09Z")

</div>

I was also lazy 🤭 and I made it simple

 ![Screenshot_20220322-212550~2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/d/4d17d3b827d267c7d4109f7b8a006f14c12c71e9.png)
