{"id":166,"date":"2021-04-02T11:32:25","date_gmt":"2021-04-02T09:32:25","guid":{"rendered":"https:\/\/help.openbee.com\/membership-join\/membership-registration\/"},"modified":"2022-05-27T16:30:52","modified_gmt":"2022-05-27T14:30:52","slug":"membership-registration","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/membership-join\/membership-registration\/","title":{"rendered":"Registration"},"content":{"rendered":"<div id=\"tw-container\" data-cp=\"1\" data-is-ver=\"false\" data-nnttsvi=\"1\" data-sm=\"1\" data-sugg-time=\"500\" data-sugg-url=\"https:\/\/clients1.google.com\/complete\/search\" data-uilc=\"fr\">\n<div id=\"tw-ob\" class=\"tw-src-ltr\">\n<div class=\"oSioSc\">\n<div id=\"tw-target\">\n<div id=\"kAz1tf\" class=\"g9WsWb\">\n<div id=\"tw-target-text-container\" class=\"tw-ta-container F0azHf tw-nfl\" style=\"text-align: center;\" tabindex=\"0\">\n<h4 id=\"tw-target-text\" class=\"tw-data-text tw-text-large XcVN5d tw-ta\" dir=\"ltr\" data-placeholder=\"Traduction\"><span class=\"Y2IQFc\" lang=\"en\">Registration<\/span><\/h4>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"swpm-registration-widget-form\">\n    <form id=\"swpm-registration-form\" class=\"swpm-validate-form\" name=\"swpm-registration-form\" method=\"post\" action=\"\">\n        <input type =\"hidden\" name=\"level_identifier\" value=\"a87ff679a2f3e71d9181a67b7542122c\" \/>\n        <table>\n            <tr style=\"display:none;\" class=\"swpm-registration-username-row\">\n                <td><label for=\"user_name\">Username<\/label><\/td>\n                <td><input type=\"text\" id=\"user_name\" class=\"\" value=\"\" size=\"50\" name=\"user_name\" \/><\/td>\n<\/tr>\n\n                            <script>\n            document.addEventListener('DOMContentLoaded', function() {\n              \/\/ Elyes : DEV : Replace username by email\n              let myusername = document.getElementById('user_name');\n              let myemail = document.getElementById('email');\n             \n              \/\/ Add a check to ensure myemail is not null before adding the event listener\n              if (myemail) {\n                myemail.addEventListener(\"change\", function() {\n                  console.log(myemail.value);\n                  if (myusername) { \/\/ Also check if myusername exists\n                    myusername.value = myemail.value;\n                  }\n                });\n              } else {\n                console.error(\"Element with ID 'email' not found.\");\n              }\n            });\n            <\/script>\n\n            \n            <tr class=\"swpm-registration-email-row\">\n                <td><label for=\"email\">Email<\/label><\/td>\n                <td><input type=\"text\" autocomplete=\"off\" id=\"email\" class=\"validate[required,custom[email],ajax[ajaxEmailCall]]\" value=\"\" size=\"50\" name=\"email\" \/><\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-password-row\">\n                <td><label for=\"password\">Password<\/label><\/td>\n                <td><input type=\"password\" autocomplete=\"off\" id=\"password\" class=\"\" value=\"\" size=\"50\" name=\"password\" \/><\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-password-retype-row\">\n                <td><label for=\"password_re\">Repeat Password<\/label><\/td>\n                <td><input type=\"password\" autocomplete=\"off\" id=\"password_re\" value=\"\" size=\"50\" name=\"password_re\" \/><\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-firstname-row\" >\n                <td><label for=\"first_name\">First Name<\/label><\/td>\n                <td><input type=\"text\" id=\"first_name\" class=\"validate[required]\" value=\"\" size=\"50\" name=\"first_name\" \/><\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-lastname-row\" >\n                <td><label for=\"last_name\">Last Name<\/label><\/td>\n                <td><input type=\"text\" id=\"last_name\" class=\"validate[required]\" value=\"\" size=\"50\" name=\"last_name\" \/><\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-field\">\n                <td><label for=\"gender\">You are ?<\/label><\/td>\n                <td class=\"options\">\n                    <select class=\"validate[required]\" name=\"gender\" id=\"gender\" style=\"width: 95%;\">\n                        <option value=\"\">Choose<\/option>\n                        <option value=\"partner\">Partner<\/option>\n                        <option value=\"client\">Client<\/option>\n                    <\/select>\n                <\/td>\n            <\/tr>\n            <tr class=\"swpm-registration-field\">\n                <td><label for=\"company_name\">Company<\/label><\/td>\n                <td>\n                    <input type=\"text\" name=\"company_name\" id=\"company_name\" class=\"validate[required]\" value=\"\">\n                <\/td>\n            <\/tr>\n            <tr\n                class=\"swpm-registration-membership-level-row\"\n                                style=\"\"\n            >\n                <td><label for=\"membership_level\">Membership Level<\/label><\/td>\n                <td>\n                    Standard<input type=\"hidden\" value=\"4\" size=\"50\" name=\"swpm_membership_level\" id=\"membership_level\" \/><input type=\"hidden\" name=\"swpm_level_hash\" value=\"7fdf2e83af682035dd5439d873f1db80\" \/>                <\/td>\n            <\/tr>\n                    <\/table>\n\n\n        <div class=\"swpm-before-registration-submit-section\" align=\"center\"><\/div>\n\n        <div class=\"swpm-registration-submit-section\" align=\"center\">\n            <input type=\"submit\" value=\"Register\" class=\"swpm-registration-submit\" name=\"swpm_registration_submit\" \/>\n        <\/div>\n\n        <input type=\"hidden\" name=\"action\" value=\"custom_posts\" \/>\n\n    <\/form>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Registration<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":165,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-166","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":2,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/166\/revisions"}],"predecessor-version":[{"id":1487,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/166\/revisions\/1487"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/165"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}