Schedule a Free Consultation

Gravity Forms Entries Inventory Management

Read Article

Ever needed to limit the number of entries in a Gravity Form? Like, for booking a given number of places in one shot/submission or buying 3 tickets for an event, etc.

Here’s an example:

  • I have a 10 places event
  • Someone comes to the website and buys 3 tickets (in 1 submission)
  • Another one buys 6 tickets
  • And the last person buys 1 ticket (the last one)
  • The form automatically closes
Gravity Forms Entries Inventory Management - WPRiders Article

I wrote a small WordPress plugin that does just that:

  • takes an input field, let’s call it number of places
  • sums all the values from all form entries from the number of places field
  • if the sum of number of places equals the total number of available places, the the form stops taking more entries.

To use this plugin you have to:

Gravity Forms Entries Inventory Management - WPRiders Article
  • Go to Form Settings (NOT Global Gravity Form Settings) and
    • Check “Enable entry limit”
    • Set your limit for this form in “Number of Entries” field
    • Set yor message in “Entry Limit Reached Message” field
    • Save settings
Gravity Forms Entries Inventory Management - WPRiders Article

As a bonus, the plugin will also check if the current input value in a form is not greater than the remaining number of places:

Gravity Forms Entries Inventory Management - WPRiders Article

Enjoy.

Navigate to

You Might Also Enjoy These Digital Marketing Articles:

Top 10 WordPress Stats and Facts Every CFO Should Know - WPRiders Article
Top 10 WordPress Stats and Facts Every CFO Should Know
A few years ago, I had a friend who was facing a pretty common business dilemma — she wanted a website for her business, but she didn’t have any programming skills. Knowing my background in web development, she came to me for some advice. That’s when I suggested that she try her hand at building […]
What Can You Build With WordPress? - WPRiders Article
What Can You Build With WordPress?
In today’s world, having a business and no website is like trying to drive a car with no engine. Sure, you can reach your destination if you get out and push your car, but wouldn’t it be a lot easier if you just had the engine in the first place? That’s the power of having the […]
Filter Custom Posts by Author in WP-Admin - WPRiders Article
Filter Custom Posts by Author in WP-Admin
Need to filter your Custom Post Types in WordPress by Author in WPAdmin? Here’s a handy way to do it by adding a new drop down for filtering: And here’s how it looks like: