What is Gravity Forms and Who Should Use It?

Gravity Forms is a WordPress form builder plugin designed for creating advanced forms without coding — from basic contact forms to sophisticated quizzes, surveys, and multi-page forms with conditional logic, automatic calculations, data storage, and payment processing. With Gravity Forms, you can build forms that intelligently respond to user input, validate entries in real-time, and seamlessly integrate with third-party services.

Gravity Forms is ideal for websites that need powerful form functionality without hiring a freelance developer to build custom forms from scratch. What sets it apart from competitors is its emphasis on developer extensibility through hooks and filters, enabling unlimited customization through PHP code when the UI cannot meet specific needs.

Gravity Forms Pricing (2026): Basic $99/year for 1 website / Professional $199/year for 10 websites / Business $399/year for unlimited websites. Includes 30-day money-back guarantee.

Installing Gravity Forms Step by Step

Like WP Rocket, Gravity Forms is a premium plugin requiring a license purchase before installation, so it's installed via ZIP file upload rather than the WordPress repository. The process is still straightforward and can be completed entirely within WordPress Admin.

  1. Purchase Gravity Forms from gravityforms.com and download the ZIP file from your Licenses page
  2. Log in to WordPress Admin and go to Plugins → Add New → Upload Plugin
  3. Select the downloaded ZIP file and click Install Now
  4. Click Activate Plugin to enable it
  5. Enter your License Key in Forms → Settings → Licenses
  6. Install any add-ons you need, such as Stripe, PayPal, or Mailchimp integrations from the same Settings page
  7. Go to Forms → New Form to start creating your first form

Note: Gravity Forms requires WordPress 4.7+ and PHP 5.6+. Most modern hosting providers support both requirements, but if your hosting is older, contact support to verify PHP version before purchasing.

Creating Your First Form — Builder UI and Field Types

Gravity Forms features a drag-and-drop builder accessible to non-technical users. The left sidebar contains available field types for selection and reordering, the center shows a preview of how the form looks, and the bottom section includes form settings and notification configuration.

Available Field Types

Gravity Forms includes more than 30 field types organized by category:

Field Configuration Options

Each field offers extensive configuration options: Required (mandatory), Placeholder Text, Default Value, Custom CSS Class, Description, and validation rules. Advanced fields support Custom Validation Rules like Email format, Number ranges, and Pattern matching for specialized input types.

Conditional Logic — Show/Hide Fields Based on User Input

Conditional Logic is one of Gravity Forms' strongest features, enabling forms to "respond" intelligently to user input. For example, if a user selects "Business Inquiry," the form displays Shipping Address and Payment fields. This improves user experience by showing only relevant fields.

Set Conditional Logic in the Advanced tab of each field by specifying conditions like "Show this field IF field #3 equals 'Business'". Multiple conditions can be combined using AND or OR logic for complex branching.

Multi-Page Forms — Breaking Up Long Forms

Long forms discourage completion. Gravity Forms allows breaking forms into multiple pages (steps) using Page Break fields, displaying a progress bar and allowing users to navigate backward to review or edit previous answers. This significantly improves form completion rates.

Multi-Page Configuration

Form Confirmation — What Users See After Submission

Form Confirmation controls what users see after submitting. Three options exist: Message (display text), Redirect (go to another page), or Page (show a specific WordPress page). You can also set conditional confirmations based on form data.

Confirmation Options

Email Notifications — Alert You of Form Submissions

Notifications send email alerts when forms are submitted, going to site Admin, the user who submitted the form, or custom addresses simultaneously. Each notification can include specific fields and use merge tags for dynamic content.

Configuring Notifications

Payment Integration — Stripe and PayPal

Gravity Forms supports multiple payment methods through add-ons: Stripe, PayPal, Authorize.net, Square, and others. For online businesses selling products or services, this feature enables complete e-commerce functionality within WordPress.

Setting Up Stripe Payment

  1. Purchase and activate the Gravity Forms Stripe add-on
  2. Go to Forms → Settings → Licenses and activate Stripe
  3. Enter your Stripe API keys in form settings
  4. Add a Product field to your form
  5. In Form Settings → Confirmation, configure the Payment section and select Stripe
  6. Test using Stripe test card number 4242 4242 4242 4242 before going live

Warning: Stripe integration requires HTTPS (SSL certificate) — Stripe blocks HTTP for security reasons. For local development, use Stripe's test mode instead of HTTP payment processing.

Entry Management Dashboard — Stored Submissions

Every form submission is saved to the WordPress database as an "entry." Site administrators can view, edit, delete, export, or resend notifications for entries from the Entries dashboard.

Managing Entries

Calculations and Math Fields

Gravity Forms can automatically calculate values — totals, discounts, taxes — using Calculation fields or Product fields with formulas. This is essential for pricing forms and quotes.

Calculation Example

To show a total price as (Quantity × Price Per Unit), create a Calculation field with the formula: {Quantity:2} * {Price:3} where 2 and 3 are the field IDs.

Developer Hooks and Filters

Gravity Forms provides 100+ hooks for developers to extend functionality through PHP code in functions.php or mu-plugins, enabling integration with external systems, custom validations, and advanced workflows.

Common Developer Hooks

Gravity Forms vs WPForms vs Contact Form 7

Three form builders dominate WordPress, each with different strengths, pricing, and ease of use.

Feature Gravity Forms WPForms Contact Form 7
PriceFree
Ease of UseModerateVery EasyLow (requires HTML)
Drag & Drop Builder✓✓✗
Multi-Page Forms✓✓✗
Conditional Logic✓✓✗
Payment Integration✓ Stripe, PayPal✓ Stripe, PayPal✗
Entry Storage✓✓✗ (Email only)
Developer Hooks✓✓ (Extensive)✓ (Sufficient)✓ (Limited)
Add-ons/Integrations20+30+50+ (separate plugins)
SupportPremiumPremiumCommunity

Summary: Choose Gravity Forms or WPForms for advanced forms with payments (WPForms slightly easier for beginners). Use Contact Form 7 free for simple sites, accepting limited convenience without a GUI builder.

GDPR Compliance and Consent Fields

For websites serving European visitors, GDPR compliance requires obtaining explicit consent before collecting personal data. Gravity Forms provides a GDPR field — a checkbox with consent text — to satisfy legal requirements.

Setting Up GDPR Compliance

Start with AsiaGB WordPress Hosting

WordPress Hosting built to support Gravity Forms and data-intensive plugins, with DirectAdmin management, 99% uptime, and SSD storage for superior performance.

View Hosting Plans