Documentation, Reference Materials and Tutorials for WPForms
Would you like to allow users to register to your WordPress site? With our User Registration addon, you can easily create custom user registration forms. In this tutorial, we will show you how to install and use the User Registration addon for WPForms.
1. Creating a User Registration Form in WPForms
Before we get started, be sure to install the WPForms plugin on your WordPress site.
Next, go ahead and install the User Registration addon. For more details, please see our step by step guide on how to install addons in WPForms.
Once the addon is installed and activated, we can create a new form for user registration. To do this, go to WPForms » Add New. This will open a page with a list of available templates.
Within the templates list, select User Registration Form.
This will open the form builder, with the following fields already in place (required fields in the are marked with an * asterisk):
- Short Bio
You can change or remove these fields, or add new fields to fit your needs.
2. Customizing User Registration Settings
Once you feel your form is ready, we can configure the User Registration settings. To do this, go to Settings » User Registration.
On the settings page, you can map each form field to a field in the WordPress user profile. To map a field, just select a form field from each dropdown. If you’re using the default template, these fields will already be filled out for you.
Here are the profile fields available in these settings:
- User Name: Required for a WordPress profile. However, if empty, the user’s email will be used instead.
- Name: Optional, but recommended.
- Password: Required for a WordPress profile. To provide a random, strong password to the user you may select the Auto generate option.
- Website: Optional.
- Biographical Info: Optional.
Below these settings, the User Role dropdown will determine which role new users are assigned when they register through this form. If you’d like more details about roles in WordPress, check out WPBeginner’s guide to WordPress user roles and permissions.
Last, you can choose whether registration emails are sent out and what actions must be taken in order for the registration process to be completed.
When Send email to the user containing account information is checked, the user will receive a short email containing their username and password, as well as the login URL for your site.
If you’d like to require the user to confirm their email to activate their new account, check Enable user activation. Then, set the User Activation Method dropdown to the User Email option. This will send an email with a link that the user must follow to complete their registration.
If both user email options are enabled, they will be included in the same email.
With the User Activation Confirmation Page dropdown, you can also choose which page of your site the user will see after clicking this activation link.
By checking the box to Send email to the admin, the site’s owner will receive an email including the Username and Email of any users who register.
If you’d like to manually approve new users, you’ll need to check the Enable user activation option. Then, set the User Activation Method dropdown to Manual Approval.
If you enable both of these admin email options, they will be sent within the same email.
That’s it! You can now add a custom user registration form to your WordPress site.
- Fixed: Typo in user activation email.
- Fixed: Login form did not set proper cookie for https:// sites
- Changed: Template uses new `core` property so it displays with other core templates
- Fixed: Form builder alert containing misspelling
- Fixed: Capitalized letters not being allowed in custom user meta keys
- Changed: Emails sent to site admin/user on account creation now use HTML email template
- Changed: For new registration forms, the Username field is no longer required; email address used as fallback
- Changed: Additional user data is passed to
- Fixed: Setting for login form template that was not displaying
- Fixed: Misnamed function causing errors
- Added: Errors indicating username/email already exist are now filterable
- Changed: User registration and login form templates load order so it shows after default templates
- Added: New filters to allow for email customizations
- Changed: Prevent plugin from running if WPForms Pro is not activated
- Initial release.