# Lock & hide form

{% hint style="info" %}
If you are looking for a way to password protect or to only allow specific user roles to submit the form read [this article](https://docs.super-forms.com/features/advanced/password-protect).
{% endhint %}

### Lock form after specific amount of submissions by user

If you need to set a limit as to how many times a user can submit a specific form you can do so via **Form Settings > User Form locker / submission limit**.

Here you can define how many times a user is allowed to submit the form. And you can also define a message to display to the user whenever they reached this limit.

Optionally you can hide the form if needed. And you can also reset the counter so you can allow users to submit again when needed.

<div align="left"><figure><img src="https://852124118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6Kz0R6S7z3Fb6KLZYVE%2Fuploads%2FfWWQjEwUhhGJePeWEfkO%2Fimage.png?alt=media&#x26;token=ac6b07a2-8dea-4377-9ca6-b6fdcdf95218" alt="Lock form submission on your WordPress site based on user"><figcaption><p>Lock form submission on your WordPress site based on user</p></figcaption></figure></div>

### Lock form after specific amount of submissions

To enable a global form lock after X amount of submission you can go to Form **Settings > Global Form locker / submission limit**.&#x20;

Here you can configure some parameters to lock the form after it was submitted for for instance 10 times.&#x20;

When the limit is reached the next user will see a message that they can no longer submit the form or that it is no longer available.&#x20;

Optionally you can hide the form. You can also reset the submission counter if required.

<div align="left"><figure><img src="https://852124118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6Kz0R6S7z3Fb6KLZYVE%2Fuploads%2FNoZUjIq0QEbErpGWU3Ae%2Fimage.png?alt=media&#x26;token=53cfc5f0-5da3-49bb-84fa-1c8d24752f18" alt="Lock WordPress form after X amount of submissions globally"><figcaption><p>Lock WordPress form after X amount of submissions globally</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.super-forms.com/features/advanced/lock-and-hide-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
