{"id":36,"date":"2017-05-24T12:46:06","date_gmt":"2017-05-24T10:46:06","guid":{"rendered":"https:\/\/demodpp.dyntra.org\/register\/"},"modified":"2017-05-24T12:46:06","modified_gmt":"2017-05-24T10:46:06","slug":"register","status":"publish","type":"page","link":"https:\/\/demodpp.dyntra.org\/fr\/register\/","title":{"rendered":"Register"},"content":{"rendered":"<div id=\"register-form\" class=\"widecolumn\">\n        \n\t    \n\t    <form name=\"dyntraRegister\" id=\"dyntraRegister\" action=\"https:\/\/demodpp.dyntra.org\/wp-login.php?action=register\" method=\"post\">\n        <div id=\"botones_register\">\n\t        <div class=\"radio_register\" title=\"evaluator\">\n            \t<img src=\"http:\/\/dyntra.org\/new\/wp-content\/themes\/dyntra-child\/img\/boton_dyntra_evaluador.png\" \/>\n                <h2><\/h2>\n            <\/div>\n\t        <div class=\"radio_register\" title=\"entity\">\n            \t<img src=\"http:\/\/dyntra.org\/new\/wp-content\/themes\/dyntra-child\/img\/boton_dyntra_entidad.png\" \/>\n                <h2><\/h2>\n            <\/div>\n        <\/div>\n        \n        <div id=\"evaluator\" class=\"option\">\n        \t<h2 class=\"centre\" style=\"display:none\">avaliador<\/h2>\n            <table class=\"index register\" style=\"width:800px; margin:auto;\">\n                <tr>\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-user\" aria-hidden=\"true\"><\/i>\n                            <label for=\"user_login\">Username <strong>*<\/strong><\/label>\n                        <\/div>\n                    <\/td>\n                    <td><input type=\"text\" name=\"user_login\" id=\"user-login\" class=\"input\" placeholder=\"At least 4 characters\"><\/td>\n                <\/tr>\n                <tr>\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-envelope\" aria-hidden=\"true\"><\/i>\n                            <label for=\"email\" class=\"label-email\">E-mail <strong>*<\/strong><\/label>\n                            <label for=\"email\" class=\"hide-this\">Corporate Email <strong>*<\/strong><\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"email\" id=\"email\" class=\"input\"><\/td>\n                <\/tr>\n                <tr>\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-user\" aria-hidden=\"true\"><\/i>\n                            <label for=\"first_name\">First Name <strong>*<\/strong><\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"first_name\" id=\"first-name\" class=\"input\"><\/td>\n                <\/tr>\n                <tr>\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-user\" aria-hidden=\"true\"><\/i>\n                            <label for=\"last_name\">Last Name <strong>*<\/strong><\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"last_name\" id=\"last-name\" class=\"input\"><\/td>\n                <\/tr>\n                <tr>\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-user-secret\" aria-hidden=\"true\"><\/i>\n                            <label for=\"nickname\">Display Name<\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"nickname\" id=\"nickname\" class=\"input\"><\/td>\n                <\/tr>\n                <tr class=\"hide-this\">\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-building-o\" aria-hidden=\"true\"><\/i>\n                            <label for=\"entity\">Entity you represent<\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"entity\" id=\"entity\" class=\"input\"><\/td>\n                <\/tr>\n                <tr class=\"hide-this\">\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-building\" aria-hidden=\"true\"><\/i>\n                            <label for=\"department\">Departament<\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"department\" id=\"department\" class=\"input\"><\/td>\n                <\/tr>\n                <tr class=\"hide-this\">\n                    <td>\n                        <div class=\"\">\n                            <i class=\"fa fa-phone\" aria-hidden=\"true\"><\/i>\n                            <label for=\"phone\">Telephone<\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                    <td><input type=\"text\" name=\"phone\" id=\"phone\" class=\"input\"><\/td>\n                <\/tr>\n                <tr>\n                    <td colspan=\"2\">\n                        <div class=\"\">\n                            <input type=\"checkbox\" name=\"privacy\" id=\"privacy\" class=\"input\" required=\"required\">\n                            <label for=\"privacy\">I agree with the <a href=\"fr_FR\/legal-notice\/\">Private Policy<\/a> *<\/label>\n                        <\/div>\t \t\t \n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td colspan=\"2\"><p>* Required Fields<\/p><\/td>\n                <\/tr>\n                <tr>\n                    <td colspan=\"2\"><p>Note: Your password will be automatically generated and sent to your email address.<\/p><\/td>\n                <\/tr>\n            <\/table>\n            <div class=\"send-button btn flex\">\n                <input type=\"hidden\" name=\"role\" id=\"role\" class=\"input role\" value=\"evaluator\">\n                <input type=\"submit\" name=\"submit\" class=\"register-button btn btn-primary\" value=\"Register\"\/>\n            <\/div>\n\t\t<\/div>\n    <\/form>\n\t<script>\n        jQuery(document).ready(function($){\n\t\t\t$('.option').hide();\n\t\t\t$('.hide-this').hide();\n\t\t\t$(this).on(\"click\", \".radio_register\", function() {\n\t\t\t\tvar name = $(this).prop('title');\n\t\t\t\t$('.option').show();\n\t\t\t\t$('.role').val(name)\n\t\t\t\tif (name === 'entity'){\n\t\t\t\t\t$('.hide-this').show();\n\t\t\t\t\t$('.label-email').hide();\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\t$('.hide-this').hide();\n\t\t\t\t\t$('.label-email').show();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\/\/console.log($(this).prop('value'));\n\t\t\t});\n\t\t\t\n            $(\"#first-name\").focusout(function(){\n                console.log(1);\n                $(\"#nickname\").val($(this).val() + \" \" + $(\"#last-name\").val());\n            });\n            $(\"#last-name\").focusout(function(){\n                console.log(1);\n                $(\"#nickname\").val($(\"#first-name\").val() + \" \" + $(this).val());\n            });\n        });\n    <\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/pages\/36"}],"collection":[{"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":0,"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/demodpp.dyntra.org\/fr\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}