WordPress Tutorials, Tips, and Resources to Help Grow Your Business
Do you want to learn how to limit the number of WordPress form entries submitted on your website? Sometimes capping the number of form entries submitted is easier than manually monitoring how many people have clicked submit.
In this article, we’ll show you how to limit the number of WordPress form entries on your website using WPForms’ Form Locker addon.
Why Limit Form Submissions?
As we’ve mentioned before, in out post about enabling the WordPress form scheduling, your website’s forms are usually available all the time so site visitors can get in touch with you whenever they need.
That said, sometimes you might feel the need to limit the number of forms that people submit on your website.
For instance, maybe you’re hosting an event that has a maximum number of people that can attend, so you want to limit the number of event registration forms that people can submit on your site.
Or, perhaps you have an opening at your place of employment and you want to limit the number of job application forms so you don’t have to review too many.
Better yet, maybe you’re using WPForms’ Form Templates Pack addon to create a contest or sweepstakes on your website and you only want a certain number of people participating.
No matter the reason for wanting to stop form submissions after a certain number of them have been processed, read on to find out how WPForms makes doing this a cinch.
Step 1: Create a New WordPress Form
Next, you’ll need to install and activate the Form Locker addon.
To do this, go to WPForms » Addon and find the one labeled Form Locker addon.
Click Install Addon and then Activate.
Now you’ll need to create a new form.
You can enable the entry limit feature on any WordPress form you create using WPForms. That’s because we strive to make form creation as easy as possible, while still offering our customer a ton of cool features for creating one-of-a-kind forms.
For our example, we’ll create a simple contest entry form using the Form Templates pack addon mentioned above. For help with this addon, that has over 100 different templates for you to choose from, check out this documentation on installing and using this flexible addon.
Once the Form Templates Pack addon is installed and activated, choose the Contest Entry Form template and let WPForms create a form for you.
You can add additional fields to your form by dragging them from the left hand panel to the right hand panel.
Then, click on the field to make any changes. You can also click on a form field and drag it to rearrange the order on your WordPress form.
When your form looks the way you want it to, click Save.
Step 2: Enable Entry Limits
Once your form is customized and saved, go to Settings » Form Locker in the Form Editor. This will bring up the different settings you can configure for the Form Locker addon.
Click on the Enable limit on total form entries checkbox under the Entry Limit section to enable form submission limits.
When you do this, you’ll see a few settings to configure:
- Limit: the maximum number of form entries you’ll allow for your form.
- Closed Message: the message that will display to site visitors trying to submit your form after the entry limit has been reached.
Here’s an example of what our contest entry form looks like when we’ve limited the number of form entries to 100:
WPForms integrates with the following email services providers:
For help with adding a newsletter checkbox to your contest entry form, or any other form for that matter, check out this tutorial on how to add a MailChimp subscribe checkbox to your WordPress forms.
Step 3: Prevent Multiple Form Entries
If you want to prevent the same user from submitting more than one form entry, you can require unique values for certain form fields.
For instance, you can require unique answers for the following field types:
- Single Line Text
- Website / URL
To enable this feature, go to your contest entry form and click on the field you want to require unique answers on. Then, scroll down to Advanced Options and click the checkbox labeled Require unique answer.
Now, any time someone tries to submit a form on your site that has already been submitted, they’ll see the message “The value must be unique.”
And there you have it! You now know how to limit the number of WordPress form entries on your website so you don’t get too many form submissions.
If you want to collect statistics and generate reports on the data collected in your WordPress forms, check out how to use the WPForms Surveys and Polls addon to take your form’s functionality to the next level.
And if you’re still not sure WPForms is the right solution for you, see what others have to say about WPForms and find out why over 1 million websites choose WPForms to build their WordPress forms.
So, what are you waiting for? Get started with the most powerful WordPress forms plugin today.