How can I add Star sign to a question? | XM Community
Skip to main content
Solved

How can I add Star sign to a question?


MoFar
Forum|alt.badge.img+1
As part of my survey, participants should choose between different hotel choices and I want to show hotel star levels using actual star symbols instead of writing "4 star".

Best answer by LaurenK

Hey @MoFar! Check out this page about our slider star question type.
View original

5 replies

LaurenK
Former XM Community Team Member
Forum|alt.badge.img+13
  • Former XM Community Team Member
  • 900 replies
  • Answer
  • July 31, 2018
Hey @MoFar! Check out this page about our slider star question type.

MoFar
Forum|alt.badge.img+1
  • Author
  • 6 replies
  • July 31, 2018
Thanks @LaurenK ! I didn't mean the star question type. In my question I have the following choices for example: a) hotel A (4 star) b)Hotel B (4.5 star) c)..... Instead of writing 4 star in front of each hotel i want to use stars to show hotel grade, just like travel websites.

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • July 31, 2018
You can use the html entities `☆` (unfilled) and `★` (filled) and size and color them with html/css just like any other text.

MoFar
Forum|alt.badge.img+1
  • Author
  • 6 replies
  • July 31, 2018
Awesome, Thanks @TomG! can I have a half-filled star as well? (for a 4.5 star hotel for example)

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • July 31, 2018
> @MoFar said: > Awesome, Thanks @TomG! can I have a half-filled star as well? (for a 4.5 star hotel for example) I don't think there is a half-star html entity. I think you would have to use images if you want a half star. Update: Actually, you can use css to format half a character. Example: https://jsfiddle.net/Auqj8/98/

Leave a Reply