The “Require user to be logged in” feature in Form Settings lets you restrict form access to logged-in users only, ensuring submissions come from authenticated users.
Require Login Settings
To enable the login requirement:
- Go to Form Settings.
- Navigate to the “Restrictions” section.
- Check “Require user to be logged in” to activate this option.
How Login Restriction Works
When this option is enabled, only users who are logged into your WordPress site can view and submit the form. Non-logged-in users will see a custom message instead of the form.
Here’s how it affects form visibility:
- Logged-in Users: Can view and submit the form.
- Non-logged-in Users: See the “Require login message” and cannot access the form.
Examples
Restrict a feedback form to registered users
Enable the login requirement and set a custom message:
- Require Login Message: “Please <a href=’/wp-login.php’>log in</a> to provide your feedback. Not a member? Register <a href=’/register’>here</a>.”


Settings Reference
Setting | Description |
---|---|
Require user to be logged in | Check this option to require a user to be logged in to view this form. |
Require login message | Enter a message to be displayed to users who are not logged in (shortcodes and HTML are supported). |