{"id":125,"date":"2024-03-07T10:12:01","date_gmt":"2024-03-07T09:12:01","guid":{"rendered":"https:\/\/trainer.ewb.lu\/register\/"},"modified":"2024-03-29T12:29:10","modified_gmt":"2024-03-29T11:29:10","slug":"register","status":"publish","type":"page","link":"https:\/\/trainer.ewb.lu\/en\/register\/","title":{"rendered":"Register"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column]    <div class=\"login-form register-form\">\r\n        <h2>Register<\/h2>\r\n\r\n        <form id=\"RegisterForm\">\r\n\r\n            <div style=\"display: none\">\r\n                <input name=\"lang\" value=\"en\">\r\n            <\/div>\r\n\r\n            <div class=\"div1\">\r\n                <label for=\"firstName\">Firstname*<\/label>\r\n                <input minlength=\"2\" maxlength=\"40\" id=\"firstName\" aria-required=\"true\" type=\"text\"\r\n                       name=\"firstName\" autocomplete=\"firstName\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div2\">\r\n                <label for=\"lastName\">Lastname*<\/label>\r\n                <input minlength=\"2\" maxlength=\"40\" id=\"lastName\" aria-required=\"true\" type=\"text\"\r\n                       name=\"lastName\" autocomplete=\"lastName\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div3\">\r\n                <label for=\"email\">Email-Address*<\/label>\r\n                <input minlength=\"5\" maxlength=\"70\" id=\"email\" aria-required=\"true\" type=\"email\"\r\n                       name=\"email\" autocomplete=\"email\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div4\">\r\n                <label for=\"organisation\">Organisation*<\/label>\r\n                <input minlength=\"2\" maxlength=\"70\" id=\"organisation\" aria-required=\"true\" type=\"text\"\r\n                       name=\"organisation\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div5\">\r\n                <label for=\"password\">Password*<\/label>\r\n                <input minlength=\"5\" maxlength=\"70\" id=\"password\" aria-required=\"true\" type=\"password\"\r\n                       name=\"password\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div6\">\r\n                <label for=\"password_confirm\">Password Confirm*<\/label>\r\n                <input minlength=\"5\" maxlength=\"70\" id=\"password_confirm\" aria-required=\"true\" type=\"password\"\r\n                       name=\"password_confirm\" data-rule-equalTo=\"#password\" required>\r\n            <\/div>\r\n\r\n            <div class=\"div7\">\r\n                <label for=\"contextMaterialUsage\">Context in which the IT course material will be used (max. 300 characters)*\r\n                <\/label>\r\n                <textarea rows=\"5\" minlength=\"5\" maxlength=\"300\" id=\"contextMaterialUsage\" aria-required=\"true\"\r\n                          name=\"contextMaterialUsage\" required><\/textarea>\r\n            <\/div>\r\n\r\n            <div class=\"div8\">\r\n                <h3>Terms of use<\/h3>\r\n                <p>For downloading the IT course material of ErwuesseBildung asbl (EwB) and the Ministry for Digitalisation<\/p>\r\n                <p>With my registration I declare ...<\/p>\r\n\r\n                <div class=\"checkboxes\">\r\n                    <div class=\"checkbox checkbox-animate\">\r\n                        <label>\r\n                            <input type=\"checkbox\" name=\"check\" required>\r\n                            <span class=\"input-check\"><\/span>\r\n                        <\/label>\r\n                        <span class=\"text\">...that my details are correct.<\/span>\r\n                    <\/div>\r\n\r\n                    <div class=\"checkbox checkbox-animate\">\r\n                        <label>\r\n                            <input type=\"checkbox\" name=\"check1\" required>\r\n                            <span class=\"input-check\"><\/span>\r\n                        <\/label>\r\n                        <span class=\"text\">...that I understand that the course material as a whole or extracts thereof may only be used for non-commercial purposes and that it is prohibited to pass the material on to third parties (persons or organisations).<\/span>\r\n                    <\/div>\r\n\r\n                    <div class=\"checkbox checkbox-animate\">\r\n                        <label>\r\n                            <input type=\"checkbox\" name=\"check2\" required>\r\n                            <span class=\"input-check\"><\/span>\r\n                        <\/label>\r\n                        <span class=\"text\">...that when using the material or excerpts thereof, I will clearly indicate the copyright of the EwB and the Ministry for Digitalisation in the presentation.<\/span>\r\n                    <\/div>\r\n\r\n                    <div class=\"checkbox checkbox-animate\">\r\n                        <label>\r\n                            <input type=\"checkbox\" name=\"check3\" required>\r\n                            <span class=\"input-check\"><\/span>\r\n                        <\/label>\r\n                        <span class=\"text\">...that I am prepared to state the purposes for which I have used the course material if requested by the EwB or the Ministry for Digitalisation.<\/span>\r\n                    <\/div>\r\n\r\n                    <div class=\"checkbox checkbox-animate\">\r\n                        <label>\r\n                            <input type=\"checkbox\" name=\"check4\" required>\r\n                            <span class=\"input-check\"><\/span>\r\n                        <\/label>\r\n                        <span class=\"text\">...that my data may be used by EwB or the Ministry for Digitalisation for the purposes of registration and reporting and may also be exchanged with each other for this purpose. My data will only be used by the EwB for these specified purposes and will not be passed on to third parties.<\/span>\r\n                    <\/div>\r\n\r\n                <\/div>\r\n\r\n            <\/div>\r\n\r\n            <div class=\"div9\">\r\n                <div class=\"outer-button inline\">\r\n                    <button class=\"coolBeans\" type=\"submit\">Register<\/button>\r\n                <\/div>\r\n                <div style=\"margin-top: 20px\">\r\n\t                You will receive a confirmation email. Please click on the link in it to confirm your e-mail address.                <\/div>\r\n\r\n                <div style=\"margin-top: 20px\">\r\n                    <a href=\"https:\/\/trainer.ewb.lu\/en\/\">Already have an Account?<\/a>\r\n                <\/div>\r\n            <\/div>\r\n\r\n        <\/form>\r\n\r\n        <div id=\"response-message\"><\/div>\r\n\r\n        <div class=\"success\" style=\"display: none;\">\r\n            <h2>Thank you for registering on our platform.<\/h2>\r\n            <div>You will receive a confirmation email. Please click on the link in it to confirm your e-mail address.<\/div>\r\n        <\/div>\r\n\r\n    <\/div>\r\n\r\n    <script type=\"application\/javascript\">\r\n\r\n        jQuery(document).ready(function () {\r\n\r\n            let $errorMessageBox = jQuery(\"#response-message\");\r\n\r\n            jQuery(\"#RegisterForm\").validate({\r\n                lang: 'de',\r\n                submitHandler: function (form) {\r\n\r\n                    jQuery.ajax({\r\n                        type: \"POST\",\r\n                        url: 'https:\/\/dashboard.trainer.ewb.lu\/api\/api\/ewb-homepage\/trainer-register',\r\n                        data: jQuery('#RegisterForm').serialize(),\r\n                        dataType: 'json',\r\n                        success: function () {\r\n                            jQuery('#RegisterForm').remove();\r\n                            jQuery('.login-form > h2').hide();\r\n                            jQuery('.success').show();\r\n                        },\r\n                        statusCode: {\r\n                            422: function (e) {\r\n                                let errors = e.responseJSON.errors;\r\n                                $errorMessageBox.html('');\r\n\r\n                                for (const [key, value] of Object.entries(errors)) {\r\n                                    $errorMessageBox.append('<span class=\"bold\">' + key + '<\/span>' + '<span>' + value + '<\/span>')\r\n                                }\r\n\r\n                            }\r\n                        },\r\n                        error: function (e) {\r\n                            jQuery(\"#response-message\").html(e.statusText);\r\n                        }\r\n                    });\r\n                }\r\n            });\r\n\r\n        });\r\n\r\n    <\/script>\r\n\t[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-125","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/pages\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":1,"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/pages\/125\/revisions"}],"predecessor-version":[{"id":126,"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/pages\/125\/revisions\/126"}],"wp:attachment":[{"href":"https:\/\/trainer.ewb.lu\/en\/wp-json\/wp\/v2\/media?parent=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}