Add Star Ratings to Your Forms in WordPress

Collect one or more ratings in your forms in WordPress with flexible icons, colors, defaults, and validation.

  • Collect ratings Let users give one or more ratings on your form.
  • Set maximum rating Change the maximum rating shown from the default of 5.
  • Choose icon styles Select from built-in icons or use Custom HTML.
  • Control default values Populate the field with a numeric default value.
  • Mark as required Require a value from 1 to the maximum rating setting.
  • Style the field Adjust colors, size, label position, and alignment.

The Rating field lets people give one or more ratings on your form. In WordPress, you can use it to collect a numeric rating value from 1 up to your chosen maximum rating.

You can control the label, help text, default value, required status, and visibility. The field also includes ARIA label support, styling options, icon choices, and validation settings.

WS Form also lets you change the icon design, icon size, selected and unselected colors, horizontal alignment, and maximum rating. For more control, you can add custom classes and custom HTML attributes.

  • Built-in icon choices

    Choose from Check, Circle, Flag, Heart, Square, Smiley, Star, or Thumbs Up for the rating field.

  • Custom HTML icons

    Use Custom HTML for each rating list item when you want your own icon markup.

  • Flexible label control

    Show or hide the label, edit the label text, and choose from default, top, left, right, or bottom positions.

  • Helpful field guidance

    Add help text under the field to assist people completing your form.

  • Accessible ARIA label

    Define ARIA label text for assistive technologies. By default, it uses the field label.

  • Hidden field behavior

    Hide the field and show it again with conditional logic or your own JavaScript.

  • Duplicate submission checks

    Block duplicate submissions with the same rating value and show your own duplication message.

  • Developer-friendly options

    Add custom classes to the field wrapper or field, and add custom HTML attributes as needed.

Real Customer Reviews

Trusted by thousands of WordPress professionals.

  • WS Form is the most powerful WordPress form plugin I have ever used. Great support too!

  • By far the best plugin of the WordPress ecosystem … amazing tool, superb support and the best documentation ever produced by a developer … you have no idea.

    bangelo123
  • I can confidently say WS Form is the most powerful form builder for WordPress I have ever used.

Frequently Asked Questions

What does the Rating field do in WS Form?

The Rating field enables web users to give one or more ratings on your form.

What values can the Rating field return?

Rating fields return number values from 1 to the maximum rating setting.

Can I make a rating required?

Yes. If the Required setting is checked, the rating field must be given a value from 1 to the maximum rating setting.

Can I change the maximum rating?

Yes. By default, rating fields have a maximum rating of 5, and you can enter a different number to change the maximum rating shown.

Which icons can I use for the Rating field?

WS Form includes eight built-in icon designs: Check, Circle, Flag, Heart, Square, Smiley, Star, and Thumbs Up. You can also select Custom HTML.

Can I change the colors and size of the rating icons?

Yes. You can set the icon size in pixels, choose an unselected color, and choose a selected color used when an icon is selected or hovered over.

How do I add a rating field in WS Form?

Add a Rating field to your form, then edit its settings from the field settings sidebar. For more help, see the Rating field guide.