πŸŽ‰ Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

How can we help you?

Find answers, tutorials, and guides to get the most out of Gravity Extra add-ons. (DEV Preview)

Gravity Forms Star Rating Field Premium Addon

Last updated: September 11, 2026 β€’ Author: Bong Huynh
Table of Contents

The Gravity Forms Star Rating Field Premium Add-on replaces dull numeric inputs and boring dropdowns with engaging, high-conversion visual rating fields. Whether you are measuring Customer Satisfaction (CSAT), tracking Net Promoter Score (NPS), capturing product reviews, or conducting internal quality audits, this add-on gives you 9 distinct icon styles, total color freedom, custom scale lengths, and native integration with Gravity Forms conditional logic and formula calculations.

πŸ’‘

Why Visual Ratings Drive 3x Higher Survey Completion

Cognitive psychology studies prove that visual iconography (stars, hearts, smiley faces) reduces respondent decision fatigue. Users evaluate and complete interactive rating widgets in under 2 seconds on mobile touchscreens, cutting survey abandonment by over 60% compared to traditional 1–10 radio grids.

Overview & Key Features

Built on the official Gravity Forms Add-on Framework, the Star Rating Field registers as a native field inside your form canvas, offering seamless compatibility with all WordPress themes and form builders.

  • 9 Distinct Icon Styles: Star, Smile, Like (Thumbs Up), Tick (Checkmark), Heart, Sun, Light Bulb, Sad, and Hand (Clap).
  • Unlimited Color Customization: Select from 3 quick presets (Red, Yellow, Green) or use the full HTML5 Hex Color Picker to match your exact brand identity.
  • Flexible Score Scales: Set any score length from 3 to 10+ rating icons (e.g. standard 5-star review, 10-point NPS survey, or 3-point emoji CSAT).
  • Pixel-Perfect Icon Sizing: Freely adjust icon dimensions from 20px (dense forms) up to 80px+ (large touch kiosks and tablet surveys).
  • Pre-Selected Default Rating: Choose whether the field starts blank or pre-populates with a default score (e.g. 5 stars).
  • Full Conditional Logic Support: Branch your form flows dynamically based on whether customer score is higher, lower, or equal to any threshold.
  • Mathematical Formula Calculations: Use rating scores directly inside Gravity Forms Calculation fields to compute weighted averages, CSAT scores, or dynamic pricing quotes.
  • Native Entry Storage & Export: Stores clean numeric ratings in entry records, fully visible in Entry Details and exported cleanly to CSV/Excel.

Installation & License Activation

Get up and running in less than 2 minutes:

  1. Download: Log into your GravityExtra Account and download gf-field-star-rating.zip.
  2. Upload Plugin: In WordPress Admin, navigate to Plugins > Add New > Upload Plugin. Choose the downloaded ZIP file and click Install Now, then click Activate Plugin.
  3. Activate License Key: Navigate to Forms > Settings > Star Rating Field Add-on. Enter your GravityExtra License Key and click Save Settings to enable automated 1-click updates and customer support.
ℹ️

Compatibility & Requirements

β€’ WordPress 5.8 or higher
β€’ Gravity Forms 2.5 or higher (Basic, Pro, or Elite license)
β€’ PHP 7.4, 8.0, 8.1, 8.2, or 8.3

Adding the Star Rating Field to Your Form

Adding a rating field to any Gravity Form is simple and visual:

  1. Go to Forms > Forms and click to edit your desired form.
  2. In the right-hand form editor panel, open the Advanced Fields section.
  3. Locate the Star Rating field (featuring a golden star icon) and drag it into your form layout.
  4. Click on the field to open the Field Settings sidebar.
  5. Set your Field Label (e.g. “How would you rate your overall experience?”), Description, and toggle Required if mandatory.
Adding Star Rating Field from Advanced Fields

Figure 1: Form Editor — Dragging the Star Rating field from the Advanced Fields panel into the form canvas.

Visual Customization & Styling Options

Under the General and Appearance settings tabs, you can customize every visual aspect of the rating field:

Star Rating Field Settings Sidebar Overview

Figure 2: Star Rating Field Settings — Overview of styling, scale, default score, and sizing controls.

1. 9 Built-in Icon Styles

Choose from 9 purpose-built icon designs in the Style Rating dropdown:

Style Rating Dropdown Options

Figure 3: Style Rating Dropdown — Selecting from 9 built-in SVG icon styles (Star, Smile, Like, Heart, etc.).

Icon Style Best Use Case Emotional Context
1. Star E-commerce product reviews, hotel/service ratings, general feedback Familiar, universal, industry standard
2. Smile Customer Support CSAT, post-chat surveys, helpdesk resolution Friendly, human-centric, approachable
3. Like (Thumbs Up) Social engagement, content usefulness (“Was this article helpful?”) Decisive, casual, quick endorsement
4. Tick (Checkmark) Onboarding checklist verification, quality compliance, audits Professional, validated, task completion
5. Heart Net Promoter Score (NPS), brand loyalty, wishlist favorites Passionate, loyal, community love
6. Sun Daily mood check-ins, health & wellness forms, vacation feedback Bright, energetic, positive
7. Light Bulb Feature request evaluation, brainstorm sessions, training usefulness Innovative, creative, intellectually stimulating
8. Sad Issue severity assessment, churn surveys (“Why are you leaving?”) Empathetic, problem-identifying
9. Hand (Clap) Webinar applause, presenter evaluation, team peer bonuses Celebratory, appreciative, collaborative

2. Setting the Rating Scale (Number Score Rating)

Under Number Score Rating, enter any integer to define the total number of rating icons displayed:

  • 3: Simplified ternary feedback (Poor, Neutral, Great).
  • 5: Traditional 5-star consumer review rating (Recommended).
  • 10: 10-point scale for standard corporate Net Promoter Score (NPS) surveys.
10-Point Rating Scale Frontend Preview

Figure 5: 10-Point Rating Scale — Frontend rendering of an expanded 10-star satisfaction scale.

3. Default Score Rating

Under Default Score Rating, you can configure an initial pre-selected score:

  • Enter an integer (e.g. 5) to have 5 stars pre-highlighted when the page renders.
  • Leave blank (or enter 0) to present an unselected, neutral state that encourages active respondent choice.
Default Score Rating Pre-Selection

Figure 6: Default Score Pre-selection — 3 stars pre-highlighted on initial form load.

4. Color Customization: Presets & Hex Color Picker

The Color Rating setting allows you to brand your rating fields:

  • Preset Colors: Quick selection between Red (#FF0000), Gold/Yellow (#deb217), or Green (#008000).
  • Custom Color: Select Custom Color to reveal the integrated color picker input. Choose any custom hex code (e.g. emerald #10b981, indigo #6366f1, or amber #f59e0b) to align with your theme palette.
Color Rating Preset and Custom Color Dropdown

Figure 4: Color Rating Options — Choosing predefined brand colors or custom hex color values.

5. Icon Sizing (Size of Star in px)

Set the exact pixel size of the icons in the Size of Star (px) field:

  • 24px – 28px: Compact layout for multi-question matrix surveys and tight mobile viewports.
  • 32px – 40px: Standard desktop and mobile responsive forms (Optimal default).
  • 50px – 70px: Touchscreen iPad / kiosk displays for in-store customer feedback terminals.
Size of Star in Pixels Setting

Figure 7: Icon Sizing Setting — Setting star dimensions in pixels (e.g. 50px).

Icon Sizing Comparison Frontend

Figure 8: Sizing Comparison — Hand rating icons at 30px compared to Star rating icons at 50px.

Conditional Logic, Calculations & Merge Tags

1. Smart Customer Recovery & Review Generation

The Star Rating field acts as a numeric value in Gravity Forms Conditional Logic. You can build high-ROI automated review funnels:

Automated Review Funnel Workflow Example:

  • Detractor Flow (Rating ≤ 2): Show a Paragraph Text field: “We are sorry we didn’t meet your expectations. What can we do to make it right?” and alert customer service immediately.
  • Neutral Flow (Rating = 3): Show a Checkbox: “Would you like our support manager to follow up with you?”.
  • Promoter Flow (Rating ≥ 4): Display a styled HTML block: “Thank you for the 5 stars! Would you mind sharing your feedback on Google Reviews or Trustpilot?” with a direct link.

2. Calculating Average Satisfaction Scores in Formulas

Because the rating is stored as a raw numeric score, you can reference it inside Gravity Forms Number Field Calculations:

Average CSAT = ( {Staff Helpfulness:1} + {Product Quality:2} + {Delivery Speed:3} ) / 3

3. Merge Tags & Notification Emails

Insert {Field Name:ID} into your Admin or Customer email notifications to output the score:

Thank you for rating us!
Customer Satisfaction Score: {Rating:5} / 5
Submission Date: {date_mdy}

Developer Guide: Custom Styling & Code Hooks

Custom CSS Hover Animations

Add smooth scale transitions and subtle drop-shadow glow effects on hover:




style.css
CSS

/* 1. Add smooth hover zoom animation to rating icons */
.ginput_group_rating > input + label {
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.ginput_group_rating > input + label:hover {
    transform: scale(1.25) !important;
}

/* 2. Add subtle drop glow to selected rating score */
.ginput_group_rating > input:checked + label:before,
.ginput_group_rating > input:checked ~ label:before {
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45)) !important;
}

PHP Validation Filter Hook

Enforce custom business logic using Gravity Forms validation filters:




functions.php
PHP

/**
 * Custom validation: Enforce qualitative feedback if rating is 2 stars or lower
 * Target Form ID: 8, Field ID: 4 (Feedback Textarea), Rating Field ID: 3
 */
add_filter( 'gform_field_validation_8', function( $result, $value, $form, $field ) {
    if ( $field->id === 4 ) {
        $rating_val = rgpost( 'input_3' );
        if ( intval( $rating_val ) <= 2 && empty( trim( $value ) ) ) {
            $result['is_valid'] = false;
            $result['message'] = 'We strive for 5-star service. Please let us know how we can improve.';
        }
    }
    return $result;
}, 10, 4 );

Frontend JavaScript Event Listener

Detect star rating selections in real time on the frontend:




scripts.js
JS

/**
 * Real-time frontend listener: Update interactive badge when respondent clicks a rating
 */
jQuery(document).on('change', '.ginput_group_rating input', function() {
    const score = jQuery(this).val();
    const ratingLabels = {
        '1': '1 Star β€” Very Poor',
        '2': '2 Stars β€” Poor',
        '3': '3 Stars β€” Average',
        '4': '4 Stars β€” Good',
        '5': '5 Stars β€” Excellent!'
    };
    jQuery('#customer_rating_feedback').text( ratingLabels[score] || '' );
});

Troubleshooting & Frequently Asked Questions

Q: How do I make the Star Rating field mandatory?

Open the field settings in the Gravity Forms editor and toggle the Required checkbox. If a user attempts to submit the form without selecting a rating, Gravity Forms will halt submission and highlight the field with a validation error.

Q: Can I use different icons and colors for different questions on the same form?

Yes. Each Star Rating field on a form maintains independent settings. For instance, you can use a 5-star yellow rating for overall service, a 3-point smiley rating for customer support, and a thumbs-up Like icon for content usefulness.

Q: How are rating scores exported to Excel / CSV?

In WordPress Admin > Forms > Import/Export > Export Entries, select your form and check the Star Rating field. Ratings are exported as standard integer numbers (e.g. 1, 2, 3, 4, 5), making it effortless to run pivot tables, charts, or average calculations in Excel, Google Sheets, or PowerBI.

Q: Does the Star Rating field support mobile touchscreens?

Yes. The icons render with generous touch targets and full touch event support across iOS Safari, Android Chrome, and tablets. For dedicated kiosk tablets, setting icon size to 48px or 54px provides an effortless touch experience.

Need Dedicated Implementation Help?

Our customer engineering team can assist you with custom survey logic, CSS styling, and enterprise integrations.

Contact Support β†’

Was this article helpful?

Let us know how we can improve our docs.

0
0
Your Cart
Your cart is emptyReturn to Shop
πŸ”₯ FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr
⚑

Max β€” GravityExtra Copilot

Online β€’ AI Copilot
🎁 15% VIP Discount Coupon
πŸ” Find My Addon πŸ“¦ All-Access Pass ⚑ Compatibility 🎁 Claim 15% Off