[epd_register] shortcode outputs the registration form for users to sign up for a demo site.
However, depending on current circumstances, it can also output additional information.
The Registration Form
The registration form displays the fields a user needs to complete when they wish to sign up for a demo of your product. By default it has three fields:
- First Name
- Last Name
- Email address
It is also possible to display a reCaptcha.
When the form is submitted, validation of each field will occur via Ajax. Successful validation will result in the site being created for the user and the user being redirected to the page you have selected within the plugin settings.
The form will be displayed if;
- The user is not logged in
- The user is logged in and has not reached the maximum number of active sites they are allowed to sign up for
The registration form may also display a list of sites that the user has access to.
The list of sites will be displayed if the user is logged in and they have active registered sites. It provides information advising the site name, the date and time registered, the date and time it expires (or Never), and links to access the site, the admin area, or delete the site altogether.
Maximum Sites Registered Notice
If the current user is logged in and they have reached the maximum number of sites they are allowed to register, as defined in the plugin settings, a notice will appear advising that they may not register any new sites until their existing sites have expired.