GP Populate Anything
Populates the signup form’s code choices from your backend entries, so you can add codes without editing the public form.
Explore GP Populate AnythingRunning a subscriber offer, event promotion, or rewards campaign? Load the codes you already have, allocate an available one when the form is submitted, and include it in the confirmation and email.
A promo code with every signup.
Illustrative experience
The finished experience
Each signup receives a code from your existing pool. An inventory limit of one keeps a claimed code out of later allocations through this form, while the system accepting the code controls redemption.
A good fit for
Teams distributing existing promotional codes through a signup form, where exposing the pool in page source is acceptable.
Store one code per entry in an admin-only backend form. On the signup form, use Populate Anything to fill a Drop Down from those entries, with the code as its choice value and label.
GP Populate Anything
Enable GP Inventory on the Drop Down and set each populated choice’s inventory limit to one. Hide exhausted choices and show a finished-campaign message when the pool is empty. Keep submitted entries: deleting them restores availability.
GP Inventory
Configure the free Round Robin snippet with the signup form and Drop Down field IDs. It hides the field, selects the next available choice on submission, and skips choices whose inventory is exhausted.
Gravity Forms
Add the code field’s merge tag to the confirmation and customer notification. Include the redemption instructions and expiry date set by the system that issued your codes.
Gravity Forms
Start with Gravity Forms. Add the capabilities this solution needs, then make the experience your own.
Populates the signup form’s code choices from your backend entries, so you can add codes without editing the public form.
Explore GP Populate AnythingLimits each code choice to one allocation and removes exhausted choices from the pool used by Round Robin. It does not redeem coupons in another system.
Explore GP InventorySnippets are free, and each one carries its own instructions in the Snippet Library .
This solution uses a free plugin. Nothing to license from us. This solution spans two suites, so it takes two licenses — bought one at a time, in either order. A plan covers how many of our plugins you run at once, and on how many sites. Here is what this one needs.
Required
GP Populate AnythingPerks
GP InventoryPerks
2 perks need Advanced or above — on up to 3 sites.
Free to use with Gravity Forms.
Separate licenses, separate checkouts. Start with either one.
Every plan renews at the same price, and you can upgrade any time for the difference.
Subscriber offers, event promotions, and rewards campaigns that already have a batch of codes to distribute. The linked Stonebridge Car & Pet Wash story used codes from a subscription app. That is one example of the broader distribution job.
The spotlight describes Populate Anything and Round Robin. This recipe adds GP Inventory’s supported choice limits so allocated codes can be removed from the available pool. That is a current extension of the recipe, not a claim about the customer’s original setup.
Round Robin alone cycles back to the beginning. With GP Inventory set to one per code, exhausted choices are excluded. Enable the exhausted-inventory message so visitors know the offer has finished until you add more codes.
No. Inventory limits allocation through this signup form. The system accepting a code must enforce its redemption limit and expiry. This also does not stop a person making several signups for different codes.
Yes. Hiding the Drop Down does not keep its populated choices secret. A visitor could discover an unused code before it is allocated. Use this approach only where that exposure is acceptable; private codes need a different server-side allocation implementation.
Yes. The related discount codes solution creates a unique Gravity Forms coupon for each signup, and the bulk coupons solution creates a batch. This recipe is for distributing codes that already exist.
Explore more ways to build with Gravity Forms.
More ways to build
Tell us what you are making and we will work out which pieces it takes — or tell you straight if this is not something we can do.