Restrict User Access by Date in WordPress Form with RegistrationMagic
If you restrict user access by date in WordPress then you can allow users of a certain age on your site. Often you might have content or data on your site that is not fit for users of all age. Then you can take users on WordPress forms from a select age group.
You must have seen movies classifying themselves based on the age of the viewers. Some movies are accessible exclusively to individuals above the age of 18. Similarly, RegistrationMagic offers a feature which filters users according to different parameters. These parameters include age, user role or passphrase.
This WordPress registration plugin allows you to restrict user access by date in WordPress forms. On the other hand, it also enables passphrase and WordPress user roles based access control.
However, some forms might not be suitable for display to minors. Or it can just be that your membership site takes users of a definite age group. With this top-notch feature, you can now take control of the user age as they register on your site.
To sum up, users need to input their date of birth before filling out the form. This filters their age and decides whether to grant them access to a specific form. The “Access Control” section of this form builder plugin, gives full control to the admin on the age group of his/her users. So let’s start this tutorial on how to restrict user access by date in WordPress.
Go to Access Control On your WordPress Forms
First, install the RegistrationMagic plugin on your site dashboard. After activating it, you will find the plugin menu on your menu panel. From there, click on the “All Forms” link.
This page will show you all the forms that you create with this plugin. Here, we go ahead using the General Purpose Form. Hover your cursor on the form cover and you will find two links at the two bottom corners. The Fields link allows you to add custom fields and widgets on WordPress forms.
But to do our job today we will click on the “Dashboard” link.
You are finally on the “Dashboard” page of the General Purpose Form. This section will allow you to analyze form analytics, submissions and configure most of the form elements. You can also build and publish a page using the shortcodes of this space. In short, you can use this section for your complete WordPress form design, payment security etc.
Next, scroll down to the “Configure” heading to add extra specs to your form. This is the section from where we will restrict user access by date in WordPress forms. So, click on the “Access Control” icon to allows various permits in your form.
After that, we are now going to take care of the “Access Control” of this form.
Set up the “Access Control” of your Form
The first field on this page is used to restrict user access by date in WordPress forms. Upon checking the box, users will have to input a date before they can access the form. This setting is quite useful for WordPress new user registration. Some forms and site content, which are not for a certain age, can be restricted using this field.
The “Question for asking date” is a mandatory field. Whatever question you insert in this section will display itself in the frontend. Then, users will answer this question by entering the date below. To give an example, shared below is an image as to how this date based access control will look on your form.
In this example, the “question for asking date” is set with the text, “Enter your Date of Birth” text. To sum up, this question is asked to the user for entering their birth date. This, in turn, will make sure that users of a certain age group register to your site.
The next field “Limit Type” allows you to select the “Age Limit” or “Absolute Dates” radio button.
These are Two Limit Types:
- Age Limit – This limit switches on the lower and upper age limit fields. These fields accept only numbers. Users falling in between the age group defined by the upper and lower limits can only access the form.
- Absolute Dates – This window switches on the upper and lower date limit fields. Users falling in between the two predefined dates can only access the form.
Other fields enable passphrase based form access control.
You can also enter an “Access Denied” note which the user will see if access is not granted. Moreover, you can be polite to your users with a note saying “Sorry, you don’t have the authorization to access this content”.
This is how you can easily restrict user access by date in WordPress forms.
Plus Factors of Restricting Users by Date
If you build forms for different age groups on your site for a course, camp, event etc then this feature is of utmost use to you. Since the age groups will then access their own forms and thus register to the courses meant for their own age. In that case, you can keep separate classes for kids and adults. Again for a kids camp which takes users till the age of 10, this feature will make sure, only kids till that age register.
Apart from that, adult membership sites or sites that offer mature content can benefit from the access control feature of this plugin. So, apart from being a WordPress form builder plugin, RegistrationMagic makes your site capable of handling users in a professional way. Thus, due to its ease of use, users consider it as the best WordPress registration plugin.
To know more about RegistrationMagic, please visit our Facebook Page.
- How to Approve WordPress User Accounts Without Logging Into Dashboard - January 25, 2021
- How to Set up Two Factor Authentication in WordPress - April 4, 2019
- How to Edit or Replace Default WordPress Registration Form - April 2, 2019
- How to Check WordPress Form Submission in Dashboard - March 29, 2019
- How to Allow Users to Edit WordPress Forms After Submission - January 31, 2019
- WordPress Class Registration Plugin – Enrol Users, Collect Payments & More - November 28, 2018
- WordPress User Management Plugin Guide - November 27, 2018
- How to Allow WordPress Login and Registration using Email - October 5, 2018
- How to Display WordPress Member Directory - October 1, 2018
- How to Disable WordPress Admin Bar for all Users Except Admin - September 29, 2018