Skip to main content

Submission LimitsPro

If you need to set limits on the number of submissions a form may receive or who can submit the form, a few options are available.

Per UserPro

Inside the Validation tab (lock icon) in the form builder, an option exists to allow you to limit the number of times a user can submit the form. Look for this setting:

  • Limit Form Submission Rate
    • Do not limit
      • Logged in Users only (no limit)3.13+
      • Once per Cookie only
      • Once per IP/Cookie combo
      • Once per logged in Users only3.13+
      • Once per logged in User or Guest Cookie only3.13+
      • Once per logged in User or Guest IP/Cookie combo3.13+

Per FormPro3.12+

Freeform includes the ability to set a limit on the maximum number of submissions a form may receive, and the reject any additional ones. You can also include a template-based condition check and display an alternate message without ever presenting the form to the user in the event it's reached it's limit.

The key is applying the submissionLimit parameter to the Form query and feeding it a number value. This could be hardcoded or you could grab this value from somewhere else such as another element or global variable, etc. Here's an example of what that may look like:

{# Replace 'myForm' with your form handle. #}
{% set form = freeform.form("myForm") %}

{# Specify the submission limit here (or grab this value from somewhere else such as another element or global variable, etc) #}
{% set submissionLimit = 50 %}

{# This optional conditional checks if the form has reached its submission limit set above #}
{% if freeform.submissionCount(form) >= submissionLimit %}

<p class="alert">Submission Limit Reached!</p>

{% else %}

<p class="notice">
This form has a limit of {{ submissionLimit }} submissions.
There are currently {{ freeform.submissionCount(form) }} submissions for this form.
</p>

{{ form.render({
submissionLimit: submissionLimit,
}) }}

{% endif %}

Stop Submissions After Date3.13+

Inside the Validation tab (lock icon) in the form builder, an option exists to allow you to prevent new submissions of the form after the set date.