Skip to main content

Rating field

What it does​

A Rating field shows a row of stars, and the visitor clicks one to give a score, for example to rate a design consultation. Clicking the fourth star of five fills four stars and gives 4. You find the field in the builder's left panel, in the Options group, and add it by dragging it onto the form, as described in Adding fields and sections.

A Rating field on the store: How was your design consultation? with four of five stars filled

Scores are whole stars: there are no half stars. Clicking the picked star again clears the rating. The stars look the same on the Luma, Hyvä and Breeze themes.

To see the answer, go to Content → WebForms → Inbox and open the submission. It shows the score as filled stars.

When to use​

  • Use Rating for a quick score of one thing: a product, a delivery, a visit.
  • To rate several things, add one Rating field for each, for example Product quality, Delivery and Packaging.
  • To show customers' ratings on your store, publish the form's results. Published Rating fields get an average in the summary above the list. See Publishing results on your store.

Settings​

Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the field on the form. Its settings show in the right panel, on the tabs General and Appearance. You'll change these settings most often:

  • Number of Stars (General tab) is the length of the scale. When it's empty, the field has 5 stars.
  • Default Rating fills that many stars before the visitor clicks. When it's empty, no star is filled. The grey hint in the empty box, "3 stars are selected by default", is only an example.
  • Required makes the visitor give a rating before the form can be sent. With a Default Rating, the field already has a score, so the visitor can send the form without clicking.
All settings of this field
Setting Where in the panel Values Translatable
Enable Field General → Basic On or off No
Label (required) General → Basic Text Yes
Field Code General → Basic Text No
Required General → Basic On or off No
Required Error Message General → Basic Text Yes
Help Text General → Basic Formatted text Yes
Tooltip General → Basic Formatted text Yes
Default Rating General → Field Settings Number No
Number of Stars General → Field Settings Number No
Hide in Submissions General → Submission Display On or off No
Allow in Staff Email Subject General → Submission Display On or off No
Submission Label General → Submission Display Text Yes
Personal Data General → Privacy By field type — Not personal, Not personal, Personal data No
Desktop Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Tablet Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Mobile Appearance → Layout Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off No
Show Label Appearance → Style On or off No
Help Text Position Appearance → Style Below input, Above input No
Container Classes Appearance → CSS Text No
Input Classes Appearance → CSS Text No
Custom Attributes Appearance → Advanced Text No
Inline Style Appearance → Advanced Text No

Validation​

A Rating field has no Validation tab. When Required is on and no star is filled, the visitor sees "Please select an option." under the stars, or your Required Error Message.

What is saved​

The field saves the number of stars. Where you read the answer:

Where What you see
Submission page in the admin Filled stars out of the scale, for example four of five.
Notification email with all answers The score and the scale, for example 4 / 5.
PDF of the submission A dot instead of the score.
Create a Customer Feedback Survey2:55 · starts at 1:14Watch on YouTube

Logic​

  • Start a rule: yes. Pick the Rating field as the trigger field, then a condition: is, is not, is less than or is greater than. The values are the stars of the scale, such as 3 stars. With is less than or is greater than, you pick one number, and the panel says which ratings it matches, for example "Matches ratings from 1 star to 2 stars." The rule doesn't run while the visitor hasn't picked a rating. For example, show a Textarea "What went wrong?" when the rating is less than 3 stars.
  • Show or hide this field: yes, from a rule that starts on a field with options. See Show or hide fields and sections.
  • Email conditions: yes. A condition compares the score with a number from 1 to the number of stars, with Is, Is Not, Greater Than or Less Than. See Condition operators.

Limits​

  • Half stars can't be given.
  • A PDF of the submission doesn't show the rating. Read it on the submission page or in the email.
  • Each star is about 36 pixels wide. On a phone screen 390 pixels wide, a scale of 10 stars runs off the edge, and the last star is cut. Keep Number of Stars at 5 for forms that visitors fill in on phones.

Troubleshooting​

  • Every submission has the same rating. Default Rating fills stars in advance and visitors send it unchanged. Clear Default Rating and turn on Required.
  • A visitor's rating disappeared before sending. Clicking the picked star again clears it. The visitor clicks the star again.
  • Your change doesn't show on the storefront. Changes stay in the draft until you click Publish Changes. See Drafts, publishing and versions.

What's next​

Applies to WebForms 4Last reviewed November 2, 2026