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.
- Purchase Gravity Forms from gravityforms.com and download the ZIP file from your Licenses page
- Log in to WordPress Admin and go to Plugins → Add New → Upload Plugin
- Select the downloaded ZIP file and click Install Now
- Click Activate Plugin to enable it
- Enter your License Key in Forms → Settings → Licenses
- Install any add-ons you need, such as Stripe, PayPal, or Mailchimp integrations from the same Settings page
- 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:
- Text: Single Line Text, Paragraph Text, Hidden Field
- Selection: Dropdown, Radio Button, Checkbox, List
- Personal Data: Name, Email, Phone, Website, Date, Time
- Payment: Product, Option, Quantity, Total, Credit Card, Calculation
- Advanced: Post Title, Post Category, Post Content, Signature, Rating, Poll
- Integration: Captcha (reCAPTCHA v3, hCaptcha), File Upload, Address
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
- Insert Page Break fields to separate form into pages
- Configure Progress Bar in Form Settings → Confirmation → Page Break
- Customize button labels appropriately (e.g., "Next", "Review", "Submit")
- Apply Conditional Logic to skip pages based on user selections
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
- Message: Display a simple message like "Thank you for contacting us. We'll respond within 24 hours." Supports merge tags like {Name} to personalize the message
- Redirect: Send users to another URL, typically a Thank You page
- Page: Display a specific WordPress page supporting custom post types
- Conditional Confirmation: Set different confirmations based on field values — e.g., feedback vs. complaint submissions
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
- Go to Form Settings → Notifications → Add Notification
- Set To Address (recipient email), Subject, From Address, From Name, Reply To, and Message body
- Use merge tags like {First Name}, {Email}, {Product}, {Total} — Gravity Forms substitutes automatically
- Attach files from File Upload fields
- Set Conditional Notifications to send only when certain conditions are met
- Enable Resend to retry if initial delivery fails
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
- Purchase and activate the Gravity Forms Stripe add-on
- Go to Forms → Settings → Licenses and activate Stripe
- Enter your Stripe API keys in form settings
- Add a Product field to your form
- In Form Settings → Confirmation, configure the Payment section and select Stripe
- 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
- Go to Forms → [Form Name] → Entries
- View all entries with timestamps, sender email, and progress status
- Click any entry to view details, edit fields, delete, resend notifications, or add notes
- Use filters to search by field value, date range, or status
- Export entries to CSV for use in Excel or Google Sheets
- Set entry retention periods to conserve server storage
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
- gform_pre_submission — Execute code before form submission
- gform_after_submission — Execute code after submission, such as saving to custom tables or calling external APIs
- gform_field_value_XXX — Set field default values dynamically
- gform_confirmation — Modify confirmation message or redirect URL dynamically
- gform_notification_subject — Dynamically customize email subject lines
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 |
|---|---|---|---|
| Price | $99+/year | $99+/year | Free |
| Ease of Use | Moderate | Very Easy | Low (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/Integrations | 20+ | 30+ | 50+ (separate plugins) |
| Support | Premium | Premium | Community |
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
- Add a Checkbox field with label "I agree to the Privacy Policy"
- Set Required = Yes
- Choose Input Type = Checkbox (single)
- Set appropriate validation messages
- In Form Settings → Confirmations, prevent data submission unless the checkbox is ticked
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