Gravity Forms Limit Coupon Usage Per Customer

Jan 13, 2025

2 Min. Read

Share URL

This page may contain affiliate links. Please read my disclaimer for more information.

Problem

When using the Gravity Forms Coupons Add-On, you can limit the number of times the coupon can be used overall, but you can not limit coupon usage per user.

Thanks to a user request, I came up with a couple of simple solutions.

Solution

#1 Use the No Duplicates feature.

This is a built-in feature that can be enabled for certain fields. If you enable this feature for the email field, the form will fail validation until you enter another email address.

#2 Using the gform_validation filter

This snippet uses the gform_validation filter to compare the email address to the coupon code entered. If the email has already been used to claim that coupon code, the submission validation fails, and a custom validation message is shown.

Add this code to your themes functions.php file or a code snippet plugin and follow the instructions in the code comments.

https://gist.github.com/chrisegg/5258ec74268b31d2d3f746e2a370dd03

Need More Help?

If you still need help, feel free to use the comments or chat options below.

If you have an active Gravity Forms license, you can also, you can also open a support ticket here.

Photo of author
About the Author
Chris Eggleston
Husband. Father of 4. Grandpa of 2. Chief Problem Solver exploring business systems, technology, AI & faith — helping people solve real problems. @mantiswp @chrisegg

Support Chris - Donate $5

Gravity Wiz Add-Ons

Advertisement

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Related Post

Styling Gravity Forms Radio Buttons Like Toggle Switch

Problem I recently had someone ask if it was possible to style radio buttons like a toggle switch in Gravity...

Mar 17, 2026

4 min. read

Automatically Switch from a Registration Form to a Waitlist in Gravity Forms

This tutorial shows you how to automatically switch from a registration form to a waitlist form in Gravity Forms using entry limits or attendee tracking with a custom shortcode.

Sep 29, 2025

4 min. read

Using AI + Gravity Forms to Streamline Job Applications

Hiring is tough. Sorting through dozens, or even hundreds, of job applications is time-consuming, repetitive, and prone to human bias. That’s where combining Gravity Forms, Gravity Flow, and AI automation comes in.

Sep 26, 2025

2 min. read

Turn Gravity Forms Image Choice Field into carousel

Problem Recently, I saw a Gravity Forms user looking for a way to style the new Image Choice field. Specifically,...

Jul 14, 2025

3 min. read

Offer Subscription With One-Off Add-On Product Options with Gravity Forms

Want to offer a subscription + one-time add-ons in Gravity Forms? Here’s how to do it using Stripe’s setup fee feature in a single payment feed.

Mar 24, 2025

2 min. read

Gravity Forms A/B Split Testing

Problem We recently received an interesting request from a Gravity Forms user who wanted to know how to do A/B...

Mar 21, 2025

5 min. read