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

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:

 

  • 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

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:

 

Enjoy.

Navigate to

You Might Also Enjoy These Digital Marketing Articles:

How to Test If Customers Will Pay for the Product You’re Building
You’ve had this business idea for a while now. You’ve even held debates with yourself on whether it’s worth the risk. Not to mention that you’ve been looking for ages to find practical and secure ways to test your ideas. But you still don’t know what the next step is. I know the feeling, I’ve […]
How To Build Long-Lasting Relationships With Your Clients When You Have A WordPress Website
For any business, losing customers can really hurt your bottom line. That’s why smart companies know customer retention is just as important as acquisition. In fact, according to Neil Patel, “Acquiring a new customer can cost up to 7 times more than selling to an existing customer.” As a business owner or marketing decision-maker, you […]
Best Hosting Providers When Starting out With WordPress - WPRiders Article
Best Hosting Providers When Starting out With WordPress
When you go on vacation, do you book a hotel, or do you opt for an Airbnb rental? I usually prefer renting either an apartment or a small house. If you’re like me, you know how important it is to pick a place with a great host. Sure, the property itself matters, but the host […]