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

Check some other articles we wrote

How to Choose the Best WordPress Consultant for Your Business
WordPress is one of the straightforward platforms you can use to start a website. You install it, configure it, add the required plugins and themes, write the content, and you are pretty much good to go. However, things drastically change when we talk about a business website. This usually means adding custom functionalities, launching complex […]
Launching Your WordPress Site: A Step-by-Step Guide for Entrepreneurs
Starting a website can feel like jumping into the deep end if you don’t know how to swim. Between picking a domain, finding a web host, installing WordPress, and customizing your site, it’s enough to make even tech-savvy entrepreneurs feel overwhelmed.  But having an online presence is crucial for businesses in this digital age. The […]
Customizing Your WordPress Site: Tailoring Your Brand Identity
Building a distinctive brand identity is crucial for any business wanting to stand out these days. Consumers are becoming more discerning and educated, seeking brands with compatible values and the ability to deliver real value. Fortunately, customizing your WordPress website is one of the best ways to establish and reinforce your brand identity online.  We […]