Lock & hide form

How to lock or hide your WordPress form when it has been submitted for an X amount of times.

If you are looking for a way to password protect or to only allow specific user roles to submit the form read this article.

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.

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.

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

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.

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

Last updated