limit the number of wordpress form entries on website

How to Limit the Number of WordPress Form Entries

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.

WPForms is the best WordPress Form Builder plugin. Get it for free!

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.

Want to explode your online growth? Check out our post on creating a sweepstakes on your website.

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

The first thing you’ll need to do is install and activate the WPForms plugin. For more details, see this step by step guide on how to install a plugin in WordPress.

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.

form locker addon

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.

contest entry form

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.

Be sure to check out our post on the best managed WordPress hosting services around.

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.

form locker settings

Click on the Enable limit on total form entries checkbox under the Entry Limit section to enable form submission limits.

form locker entry limit checkbox

When you do this, you’ll see a few settings to configure:

form locker entry limit settings

  • 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:

form entry limit example

Cick Save.

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.

Interested in skyrocketing your online growth with a dedicated giveaway plugin? Check out our tutorial on how to do a WordPress giveaway.

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
  • Name
  • Email
  • Website / URL
  • Password
  • Phone

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.

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.”

unique value example

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.

And don’t forget, if you like this article, then please follow us on Facebook and Twitter.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Comments

  1. you need to add ip and cookie restrictions to Form Locker which is really necessary for Poll and survey. Otherwise, same person can submit with various fake email addresses.

    1. Hi Ryan,

      We don’t have a way to do this right now, but I’ve made a note on our feature request list so we can keep it on our radar! Thanks for the suggestion 🙂

    2. I recommned capturing the device id, because for events that have wifi people will have the same ip even though they are on different devices. Cookies or device ids would be better for hosted events.

      1. Hi Radley, thanks for your question.
        Unfortunately, this option isn’t available in WPForms, you can only capture the user IP address.
        If you find a way how to get it with some custom code, you can then register a custom Smart Tag to use it in the form entries and notifications. We have a great tutorial on how to create a custom Smart Tag in WPForms.
        I hope this helps.
        Have a good one 🙂

    1. Hi Jason,

      We currently don’t have this feature available but we have submitted it as a feature request to our team for them to consider in future updates.

      Thanks!

  2. I just cannot believe that user can vote unlimited number of times. So there is no way to limit the number of times user can vote ?

    1. Hi Vladan!

      The article actually describes how to limit the form submissions so the same users can’t submit the form more than one time.
      Please feel free write to us more if you have any other questions.

      Thanks 🙂

  3. Guys the “Require unique answer” is completeley useless so far, as the user can change the entry in the limited field to submit the form multiple times.

    Is there a way to forbid a logged in user to send multiple time the same form? I’m using Ultimate Member as membership plugin

    1. Hi Daniele!
      Thanks for your feedback!
      However, once the email address is changed and it is not the same as the user’s email address stored in WordPress this is not a unique answer anymore and the system correctly will pass such the submissions to the database.
      But you can try to use the {user_email} Smart Tag as a default value for a Single Line Text field and choose the “Require Unique Answer” option for it and make that field hidden with custom CSS.
      This way the field will be auto-populated with the users’ email and as they won’t see it it won’t let them submit the form.
      If you have any questions regarding this, and you have a WPForms license, then you have access to our email support, so please submit a support ticket.

      Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.

      I hope this helps.
      Have a good one 🙂

  4. Hi, is it possible to limit individual field entries? We have an orderform on takeaway dinners. Customers enter their info + number of persons for each day of the week. We need to be able to set a daily limit, so we can close the entries per day. But people should stiil be able to order the rest of the days… Hope my weired explanation is understandable 🙂 Best regards from DK

    1. Hi Peter,
      Currently, we do not have a built-in option to restrict entries based on certain fields only. I do agree it would be super helpful, though. I’ve made a note of the feature request and we’ll keep it on our radar as we plan out our roadmap for the future.
      Currently, with the Form Locker addon you can restrict the total number of entries allowed in a form.
      I apologize for any inconvenience.
      Have a good one 🙂

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.