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:

What are the most common WordPress issues and how can you fix them - WPRiders Article
What are the most common WordPress issues and how can you fix them
Let’s be honest — we’ve all been there.Where?On a painfully slow website, of course. And if you’re one of the lucky few who haven’t experienced it yet, let us fill you in: website slowness is one of themost common WordPress issues, and it can ruin both user experience and SEO if left unchecked. Imagine the […]
How to Choose a WordPress Design Agency - WPRiders Article
How to Choose a WordPress Design Agency
Choosing the right WordPress design agency is crucial when creating a website that will be your business forefront. A good website should bring visitors and help convert these visitors into customers for your business. With design agencies for WordPress, many options are available, but this doesn’t mean all are good for you. So deciding which […]
How to Choose a WordPress Ongoing Development Agency - WPRiders Article
How to Choose a WordPress Ongoing Development Agency
Only someone that hasn’t run a business website seriously still considers that the work is done when the website is finished.Most of the time, that’s actually when the complex work starts. Always there is something that needs to be done. You have to add new pages, update the old ones, add new products or remove […]