{"id":30842,"date":"2026-11-13T10:00:00","date_gmt":"2026-11-13T09:00:00","guid":{"rendered":"https:\/\/www.web-systems.pl\/?p=30842"},"modified":"2026-10-21T15:28:04","modified_gmt":"2026-10-21T14:28:04","slug":"wordpress-registration-form-for-b2b-accounts","status":"publish","type":"post","link":"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/","title":{"rendered":"WordPress Registration Form for B2B Accounts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A WordPress registration form for B2B accounts is usually built on a ready-made user forms plugin, with custom code added only where the business logic starts: extra fields for company data, their validation and what happens to the account after registration. Fully custom work is needed when registration requires approval by a sales rep, pulls data from external registers or feeds an ERP. Below you will find an example implementation and a list of decisions worth making before the first line of code.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Why_isnt_the_standard_WordPress_registration_enough_for_businesses\" >Why isn&#8217;t the standard WordPress registration enough for businesses?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#What_does_a_ready-made_user_forms_plugin_give_you\" >What does a ready-made user forms plugin give you?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Example_business_account_registration_for_a_wholesaler\" >Example: business account registration for a wholesaler<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#When_does_a_WordPress_registration_form_need_custom_code_from_the_start\" >When does a WordPress registration form need custom code from the start?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#What_to_keep_in_mind_with_company_data_and_form_protection\" >What to keep in mind with company data and form protection?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Can_I_add_a_NIP_field_without_a_developer\" >Can I add a NIP field without a developer?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Will_form_changes_survive_a_plugin_update\" >Will form changes survive a plugin update?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.web-systems.pl\/en\/wordpress-registration-form-for-b2b-accounts\/#Can_customers_update_company_details_themselves\" >Can customers update company details themselves?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_isnt_the_standard_WordPress_registration_enough_for_businesses\"><\/span>Why isn&#8217;t the standard WordPress registration enough for businesses?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The default WordPress form collects a username and an email address, and the customer lands in a panel that looks like the site&#8217;s back end. For a wholesale store, a partner platform or a customer zone, that is not enough and it feels out of place.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A business usually needs three things: forms embedded in regular pages of the site, extra fields for company data and control over what happens after registration and login. On top of that come permissions, which we cover in our article on <a href=\"https:\/\/www.web-systems.pl\/en\/wordpress-user-roles-who-gets-dashboard-access\/\">how WordPress user roles work<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_a_ready-made_user_forms_plugin_give_you\"><\/span>What does a ready-made user forms plugin give you?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A ready-made plugin takes care of building the forms, pages and notifications, and leaves hooks where a developer plugs in custom logic. That is the most sensible split of work for business accounts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is how the Custom User Forms PRO plugin works. According to its description and documentation, it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>provides shortcodes for the login, registration, lost password and password reset forms and the user profile page, so you can place the forms on any page of the site,<\/li>\n<li>lets you override form templates from your theme, so you can adjust the look and add fields in HTML,<\/li>\n<li>has hooks for validating and sanitizing custom fields, adding error messages and saving extra user data,<\/li>\n<li>lets you set redirects after login and after registration, automatic login after registration and who gets notified about a new account: the administrator, the user or both,<\/li>\n<li>protects forms with reCAPTCHA v3.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Hooks are attachment points in the plugin&#8217;s code where you add short functions in your own theme or a small plugin. You don&#8217;t need to modify the plugin itself, and its updates won&#8217;t overwrite your changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_business_account_registration_for_a_wholesaler\"><\/span>Example: business account registration for a wholesaler<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Take an office supplies wholesaler running on WordPress that wants companies to create accounts with the company name, NIP (Polish tax ID) and billing address. Building such a WordPress registration form on a ready-made plugin looks like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Pages.<\/strong> You create login, registration, lost password and profile pages and insert the matching shortcodes.<\/li>\n<li><strong>Template.<\/strong> You copy the registration form template to your theme and add fields: company name, NIP, street, postal code, city and contact person&#8217;s phone number.<\/li>\n<li><strong>Validation.<\/strong> In the validation hook you check that the fields are filled in and that the NIP has a valid format and checksum. Errors go back to the customer as clear messages through the messages hook.<\/li>\n<li><strong>Sanitizing and saving.<\/strong> You clean the data in the sanitizing hook and save it to the user account through the user data hook.<\/li>\n<li><strong>After registration.<\/strong> You set a redirect to a page explaining the next steps, plus a new account notification for both the administrator and the customer.<\/li>\n<li><strong>Profile.<\/strong> You add the same fields to the profile page template, so customers can update company details themselves instead of emailing you when their address changes.<\/li>\n<li><strong>Testing.<\/strong> You create a few accounts with incorrect data and check that the form stops them with a clear message.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The custom code in this scenario is just a few functions attached to the plugin&#8217;s hooks. That is less work than building forms from scratch and less risk than reworking someone else&#8217;s plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_does_a_WordPress_registration_form_need_custom_code_from_the_start\"><\/span>When does a WordPress registration form need custom code from the start?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Fully custom work makes sense when registration is part of the sales process, not just account creation. In that case the form is the smallest part of the project.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Account approval.<\/strong> The account has to wait for a sales rep to verify it, get a price group and a credit limit, and the customer should only be notified after approval.<\/li>\n<li><strong>Data from registers.<\/strong> The form should fetch the company name and address from an external service based on the NIP number.<\/li>\n<li><strong>ERP or CRM sync.<\/strong> A new customer should be sent to the sales system, and profile changes should flow back to the store.<\/li>\n<li><strong>Multiple users per company.<\/strong> Several people from one company with different permissions, for example one places orders and another approves them.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">We run such projects as extensions of <a href=\"https:\/\/www.web-systems.pl\/en\/wordpress-websites\/\">WordPress websites and services<\/a>. These are typical requirements of wholesale platforms, which we compare in our article on choosing <a href=\"https:\/\/www.web-systems.pl\/en\/off-the-shelf-vs-custom-b2b-system-2026\/\">an off-the-shelf or custom B2B system<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_keep_in_mind_with_company_data_and_form_protection\"><\/span>What to keep in mind with company data and form protection?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Collect only the data you actually use and protect the form from bots. Every extra field means more work for the customer and more data to secure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The data minimisation principle comes from <a href=\"https:\/\/eur-lex.europa.eu\/legal-content\/PL\/TXT\/?uri=CELEX:32016R0679\" rel=\"nofollow noopener\" target=\"_blank\">Article 5 of the GDPR<\/a>: personal data must be adequate and limited to what is necessary for the purpose of processing. The contact person&#8217;s name or phone number is personal data even when the account is created by a company.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Registration forms also attract bots creating fake accounts. According to <a href=\"https:\/\/developers.google.com\/recaptcha\/docs\/v3\" rel=\"nofollow noopener\" target=\"_blank\">Google&#8217;s reCAPTCHA documentation<\/a>, reCAPTCHA v3 scores every request without interrupting the user, and we explain how to choose protection without annoying customers in our article on <a href=\"https:\/\/www.web-systems.pl\/en\/contact-form-spam-protection-without-annoying-customers\/\">protecting forms from spam<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1792592456058-0\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Can_I_add_a_NIP_field_without_a_developer\"><\/span>Can I add a NIP field without a developer?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Someone who knows HTML can add the field itself to the template, but validating and saving it requires a little code in the hooks. It is a small job worth ordering together with testing the form.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1792592456058-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Will_form_changes_survive_a_plugin_update\"><\/span>Will form changes survive a plugin update?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, if they live in your theme or a separate plugin. Templates are overridden in the theme folder and logic is added through hooks, so the plugin&#8217;s own files stay untouched.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1792592456058-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Can_customers_update_company_details_themselves\"><\/span>Can customers update company details themselves?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, through the user profile page. The extra fields need to be displayed and saved there the same way as in the registration form.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">If your WordPress registration form needs to collect company data, redirect customers after login and notify the right people, start with a ready-made plugin and add only the business logic. You will find the list of shortcodes, hooks and settings on the page of the <a href=\"https:\/\/k4.pl\/product\/custom-user-forms-pro\" rel=\"nofollow noopener\" target=\"_blank\">Custom User Forms PRO plugin<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A WordPress registration form for B2B accounts is usually built on a ready-made user forms plugin, with custom code added only where the business logic starts: extra fields for company data, their validation and what happens to the account after registration. Fully custom work is needed when registration requires approval by a sales rep, pulls [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":30835,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[806,838],"tags":[887,1105,1194,901,1192],"class_list":["post-30842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development-en","category-wordpress-en","tag-b2b-en","tag-gdpr","tag-plugins","tag-security","tag-wordpress-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/comments?post=30842"}],"version-history":[{"count":2,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30842\/revisions"}],"predecessor-version":[{"id":31017,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30842\/revisions\/31017"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media\/30835"}],"wp:attachment":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media?parent=30842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/categories?post=30842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/tags?post=30842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}