Repeating an element X times based on dynamic value

Hi,

I’d like to visually represent a “rating” that is stored as a number inside the DB, something like this:
https://capture.dropbox.com/hmziE4RGhW5O273D

So I have a value of “3” and I’d like to represent it like in the mockup.

Do you have any hints on the best way to accomplish it?
I would not rely on a plugin…

Just use conditions based on the stored rating. (i.e. give each group a number 1-5, and if the rating is more than or equal to that number, colour it red)

1 Like

Thank you!

1 Like