Buy B2BKing
$299 $199
B2BKing comes with its own extended registration functionality that allows you to create and combine 10+ types of custom fields, including text, phone, email, file upload, dropdown fields, and more.
However, in some cases you may want the more advanced functionality that comes with a dedicated forms plugin. In this article, let's look at how you can create registration forms that register B2B users using third-party form plugins.
To register a B2B user, from a technical standpoint, you need to set two user meta keys for the user:
Here you can learn more about how these keys work.
Optionally, if you want to require manual account approval for a user, you also need to set the following key:
Therefore, any forms plugin can register B2B users, as long as it can set such user meta keys.
A great option that we recommend is the Forminator plugin, which provides a powerful forms solution with an excellent free version:
Forminator supports many different types of fields, conditional relationships, and pagination that allows you to split a form into multiple pages.
To create a form, go to Forminator -> Forms -> Create and find the preset "Registration" template, then click "Use Template":
Then set up whichever registration fields you'd like to have. For example, we have set up a simple form with two fields: company name and company phone:
Now let's configure this form so that it registers B2B users and these users require B2BKing account approval before they can use their account.
To do this, go to the "User Registration" panel of the form and set up the meta keys and values there:
In the screenshot above, 308 is the group ID, which you can find by editing the group in B2BKing -> Groups -> Business Groups and checking the number in the URL (this number is unique on each site):
In the same panel, you should also typically set the user role to "Customer":
That's it! All you need to do now is copy and paste the form shortcode onto a new page. Forminator will provide the shortcode when you first save the form.
This form will register B2B users that require approval.
There are many other options available in Forminator:
The important part for B2BKing is to set the necessary user meta keys so that the users are added to the correct group and identified as B2B.
Similar principles apply when setting up a user registration form with the WPForms plugin.
Importantly, you need to set up the B2BKing user meta keys. At the time of writing, the ability to set user metadata is only available in the WPForms User Registration Add-on (part of their paid plugin).
To learn more about setting up a user registration form and configuring user meta fields in WPForms: https://wpforms.com/docs/how-to-set-up-custom-user-meta-fields/
To set up a form with Gravity Forms, you similarly need to connect the respective user meta keys.
This is currently part of their paid User Registration Add-on. For more information, see:
Create a Feed for Gravity Forms User Registration Add-on
Powered by BetterDocs