Skip to content
GPLWP Guides

How to offer discount coupons in Gravity Forms

Forms Time About 20–30 minutes 6 steps Updated 17 Sep 2026

FORMS
The short answer

Gravity Forms does not provide a full coupon system in the core form builder. For a simple fixed discount, use a text field with conditional logic and calculations; for expiry dates, usage limits and reliable validation, use the Coupons Add-On.

The route
  1. 01Prepare the payment form
  2. 02Use the manual route for one code
  3. 03Install the Coupons Add-On
  4. 04Create each coupon feed
  5. 05Add the Coupon field
  6. 06Test the whole discount flow

What you need

  • Gravity Forms installed and activated
  • A payment form with at least one Product field and one Total field
  • Administrator access to WordPress
  • A payment add-on if you will collect payment through Gravity Forms

Prepare the payment form

Open the form that will receive the discount and check that it contains at least one Product field and one Total field. The Coupons Add-On needs both fields before its coupon field can calculate a discount. Add the payment integration you intend to use, such as Stripe or PayPal, if the form will take payment.

Keep the Total field in the form so visitors can see the adjusted amount before they submit.

Use the manual route for one code

For one or two permanent promotional codes, add a standard text field for the code, then add a calculation field or pricing logic that applies the discount when the entered value matches the expected code. Use conditional logic to show the discount amount only when the code is correct.

This route is fine for a simple form, but it does not give you proper usage limits, redemption tracking or per-coupon start and expiry dates. It also needs careful testing because a calculation can display the right total without providing the coupon validation and management features of the add-on.

Install the Coupons Add-On

In WordPress, go to Forms and open Add-Ons. Install or activate the Coupons Add-On, then return to the form. The Coupon field appears in the form editor only when the add-on is active. The add-on is included with Gravity Forms Elite and Nonprofit licences.

Create each coupon feed

Go to Forms → Coupons and select Add New. Choose the form, enter a coupon name and code, then choose whether the discount is a fixed amount or a percentage. Set the start date, expiry date and usage limit, and decide whether the coupon may be combined with another coupon.

Create a separate coupon feed for each code. Save the settings before returning to the form editor.

Add the Coupon field

Open the form editor and add the Coupon field from the Pricing Fields section. Only add one Coupon field to a form. Make it required if every customer must enter a code, or leave it optional if customers without a coupon should also be able to submit.

The field checks the code during validation. Invalid, expired or exhausted coupons should stop submission and display a validation message.

Test the whole discount flow

Preview the form and test a valid code, an invalid code, an expired code and a code that has reached its usage limit. Check the total before payment and confirm that the payment feed receives the discounted amount.

Also test a submission without a code. A common Friday-afternoon failure is testing only the visible total while the payment feed or a custom calculation still charges the original amount. For discounts based on a subtotal rather than the final form total, the Coupons Add-On does not handle that directly; use a separate calculation approach instead.

Fast way: install the Gravity Forms Coupons Add-On, create coupon feeds, add the Coupon field and test the payment result. It is the practical choice when you need expiry dates, usage limits or more than a single hard-coded discount.

The fast route

Let Gravity Forms Coupons Add-On do it

Adds coupon codes, expiry dates, usage limits, and tracking directly to Gravity Forms payment and product forms.

Get Gravity Forms Coupons Add-On

Sources

  1. docs.gravityforms.com /setup-the-coupon-add-on/
  2. gravitywp.com /tutorial/gravity-forms-discount-code-field/?utm_source=open…
  3. gravityforms.com /feature/coupons/?utm_source=openai
  4. gravityforms.com /blog/create-coupons/
  5. docs.gravityforms.com /coupon-field/captura-de-pantalla-2024-09-11-a-las-1-16-42-p…
  6. community.gravityforms.com /t/coupon-discount-calculation-on-subtotal/19479?utm_source=…

Questions

Can Gravity Forms create coupons without an add-on?
Not as a complete coupon system. You can approximate one or two fixed codes with a text field, conditional logic and calculation fields, but the core builder does not provide proper coupon feeds, redemption limits, expiry handling or usage tracking. Use the Coupons Add-On when those controls matter.
Why is the Coupon field missing from my form?
The Coupon field is missing when the Coupons Add-On is not active. Activate the add-on from Forms → Add-Ons, then reopen the form editor. You also need at least one Product field and one Total field because the coupon discount is applied as part of the form’s pricing calculation.
Can I set an expiry date and usage limit for a coupon?
Yes, the Coupons Add-On lets you set start and expiry dates and limit how many times a coupon can be used. Those controls are configured in the coupon feed, not in the Coupon field itself. Test the limits on the live form because an expired or exhausted code should fail validation before payment.
Can one Gravity Forms form accept multiple coupons?
The form supports only one Coupon field, although the add-on can support multiple coupon codes depending on its configuration. You can also control whether coupons stack. Do not assume that separate Coupon fields will work, because the field documentation states that only one may be added to a form.
Can a Gravity Forms coupon discount only the subtotal?
Not with the standard Coupons Add-On behaviour. The add-on applies the discount to the form total, so a subtotal-only discount or a discount before a later deposit calculation needs a separate text field, conditional logic and calculation approach. This is an important limitation to check before building a complex payment form.