Star Rating & Opinion Scale
Star Rating
yaml
handle: service
field:
type: star_rating
display: 'How was the service?'
max_stars: 5
allow_half_stars: trueNothing is selected until the visitor picks a rating. The color of the filled stars is --color-ef-rating in your theme file.
Opinion Scale
yaml
handle: recommend
field:
type: opinion_scale
display: 'How likely are you to recommend us?'
min: 0
max: 10
low_label: 'Not likely'
high_label: 'Very likely'Both fields work with the keyboard and in forced colors mode.
TIP
The Rating template of the Number fieldtype is still available.