This option allows you to make your form accessible only to users who are logged into your site. Visitors who are not logged in will be prevented from viewing or submitting the form, ensuring that sensitive or member-only content remains protected.
Use this feature to create exclusive forms for registered users, control submissions, or manage access to specific content. It’s ideal for membership sites, internal surveys, or any situation where you want to limit form access to authenticated users.
How to restrict the form to logged-in users
To restrict a form to logged-in users, go to the form editor and navigate to the Options section. The required settings are:
- require_login: Default is no. Set it to yes to make the form accessible only to logged-in users.
- require_login_message: Message displayed to users who are not logged in. You can write a custom message or use the tag {settings.require_login_message} to show the default message defined in Settings.
You can customize the predefined messages. Just go to BBForms menu -> Settings -> Messages. and edit the message displayed to users who are not logged in or any other standard form message.
