Comment on page
How to password protect your WordPress form or only allow specific user roles to submit the form.
Simply edit your form and go to Form Settings > Password Protect (see image below). Here you can define the password required to submit the form.
Optionally you can also define the form to be only submitted by specific user roles. For instance, you can only allow users with the
administratorrole to submit the form.
Another option is to only allow logged in users or to hide the form from not logged in users and visa versa.
Password protect WordPress form and based on user roles