{"id":540,"date":"2026-03-29T09:51:05","date_gmt":"2026-03-29T09:51:05","guid":{"rendered":"https:\/\/concrete-uniform-test.objectsdev.com\/signup-first-step\/"},"modified":"2026-03-29T11:28:26","modified_gmt":"2026-03-29T11:28:26","slug":"signup-first-step","status":"publish","type":"page","link":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/signup-first-step\/","title":{"rendered":"\u0634\u0627\u0634\u0629 \u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u0623\u0648\u0644\u0649"},"content":{"rendered":"\n<div class=\"register-first-screen\">\n    <div class=\"register-first-screen__inner\">\n        <div class=\"register-first-screen__content\">\n                            <h1 class=\"register-first-screen__title\">\u0627\u0646\u0636\u0645 \u0643\u0648\u0644\u064a \u0627\u0645\u0631 \u0623\u0648 \u0637\u0627\u0644\u0628<\/h1>\n            \n            <form class=\"register-first-screen__form\" data-parent-text=\"\u0627\u0646\u0636\u0645 \u0643\u0648\u0644\u064a \u0627\u0645\u0631\" data-student-text=\"\u0627\u0646\u0636\u0645 \u0643\u0637\u0627\u0644\u0628\">\n                <div class=\"register-first-screen__form-group\">\n                    <div class=\"form-check\">\n                        <label class=\"form-check-label\" for=\"radioDefault1\">\n                            <div class=\"d-flex justify-content-between\">\n                                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"27\" height=\"26\" viewBox=\"0 0 27 26\"\n                                    fill=\"none\">\n                                    <path\n                                        d=\"M6.66667 12C3.33333 12 0.666667 9.33333 0.666667 6C0.666667 2.66667 3.33333 0 6.66667 0C10 0 12.6667 2.66667 12.6667 6C12.6667 9.33333 10 12 6.66667 12ZM20.6667 17.3333C17.7333 17.3333 15.3333 14.9333 15.3333 12C15.3333 9.06667 17.7333 6.66667 20.6667 6.66667C23.6 6.66667 26 9.06667 26 12C26 14.9333 23.6 17.3333 20.6667 17.3333ZM20.6667 18.6667C24 18.6667 26.6667 21.3333 26.6667 24.6667V25.3333H14.6667V24.6667C14.6667 21.3333 17.3333 18.6667 20.6667 18.6667ZM6.66667 13.3333C10.4 13.3333 13.3333 16.2667 13.3333 20V25.3333H0V20C0 16.2667 2.93333 13.3333 6.66667 13.3333Z\"\n                                        fill=\"#232221\" \/>\n                                <\/svg>\n                                <input class=\"form-check-input\" type=\"radio\" name=\"role\" id=\"radioDefault1\" value=\"parent\">\n                            <\/div>\n                            <span>\n                                \u0648\u0644\u064a \u0623\u0645\u0631 - \u0634\u0631\u0627\u0621 \u0632\u064a \u0645\u062f\u0631\u0633\u064a \u0644\u0637\u0641\u0644\u064a                                <input type=\"hidden\" name=\"parent_registration_url\" value=\"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/\u062a\u0633\u062c\u064a\u0644-\u0648\u0644\u064a-\u0627\u0644\u0623\u0645\u0631\">\n                            <\/span>\n                        <\/label>\n                    <\/div>\n                    <div class=\"form-check\">\n                        <label class=\"form-check-label\" for=\"radioDefault2\">\n                            <div class=\"d-flex justify-content-between\">\n                                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\"\n                                    fill=\"none\">\n                                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                                        d=\"M24.6641 15.3333V8H26.6641V15.3333C26.6641 15.5986 26.5587 15.8529 26.3712 16.0404C26.1836 16.228 25.9293 16.3333 25.6641 16.3333C25.3988 16.3333 25.1445 16.228 24.957 16.0404C24.7694 15.8529 24.6641 15.5986 24.6641 15.3333Z\"\n                                        fill=\"#232221\" \/>\n                                    <path\n                                        d=\"M21.3307 13.334V9.33398H10.6641V13.334C10.6641 14.7485 11.226 16.105 12.2262 17.1052C13.2264 18.1054 14.5829 18.6673 15.9974 18.6673C17.4119 18.6673 18.7684 18.1054 19.7686 17.1052C20.7688 16.105 21.3307 14.7485 21.3307 13.334Z\"\n                                        fill=\"#232221\" \/>\n                                    <path\n                                        d=\"M5.36885 7.39106L14.3742 3.38973C14.8856 3.16239 15.4391 3.04492 15.9988 3.04492C16.5586 3.04492 17.112 3.16239 17.6235 3.38973L26.6275 7.39106C26.7454 7.4434 26.8456 7.52883 26.9159 7.63699C26.9863 7.74514 27.0237 7.87138 27.0237 8.00039C27.0237 8.1294 26.9863 8.25564 26.9159 8.3638C26.8456 8.47196 26.7454 8.55738 26.6275 8.60973L17.6248 12.6111C17.1134 12.8384 16.5599 12.9559 16.0002 12.9559C15.4405 12.9559 14.887 12.8384 14.3755 12.6111L5.36885 8.60973C5.25093 8.55738 5.15074 8.47196 5.08041 8.3638C5.01009 8.25564 4.97266 8.1294 4.97266 8.00039C4.97266 7.87138 5.01009 7.74514 5.08041 7.63699C5.15074 7.52883 5.25093 7.4434 5.36885 7.39106ZM19.0648 20.5337L16.9462 22.6751C16.8222 22.8004 16.6745 22.9 16.5118 22.9679C16.3491 23.0358 16.1745 23.0708 15.9982 23.0708C15.8218 23.0708 15.6473 23.0358 15.4845 22.9679C15.3218 22.9 15.1742 22.8004 15.0502 22.6751L12.9315 20.5337C12.7733 20.3692 12.5735 20.2506 12.3533 20.1905C12.1331 20.1304 11.9007 20.1311 11.6808 20.1924C7.94085 21.2937 5.33151 23.7777 5.33151 26.6671C5.33151 27.3743 5.61246 28.0526 6.11256 28.5527C6.61266 29.0528 7.29094 29.3337 7.99818 29.3337H23.9982C24.7054 29.3337 25.3837 29.0528 25.8838 28.5527C26.3839 28.0526 26.6648 27.3743 26.6648 26.6671C26.6648 23.7777 24.0555 21.2937 20.3155 20.1924C20.0957 20.1311 19.8633 20.1304 19.6431 20.1905C19.4229 20.2506 19.2231 20.3692 19.0648 20.5337Z\"\n                                        fill=\"#232221\" \/>\n                                <\/svg>\n                                <input class=\"form-check-input\" type=\"radio\" name=\"role\" id=\"radioDefault2\" value=\"student\">\n                            <\/div>\n                            <span>\u0637\u0627\u0644\u0628 - \u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0632\u064a \u0627\u0644\u0645\u062f\u0631\u0633\u064a<\/span>\n                            <input type=\"hidden\" name=\"student_registration_url\" value=\"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/\u062a\u0633\u062c\u064a\u0644-\u0627\u0644\u0637\u0627\u0644\u0628\">\n                        <\/label>\n                    <\/div>\n                <\/div>\n                <a href=\"\" class=\"btn btn-primary register-first-screen__btn\">\n                    \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628                <\/a>\n            <\/form>\n\n            <div class=\"register-first-screen__buttons\">\n                <p> \u0647\u0644 \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f                    <a href=\"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/\u062a\u0633\u062c\u064a\u0644-\u0627\u0644\u062f\u062e\u0648\u0644\" class=\"register-first-screen__btn\">\n                        \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644                    <\/a>\n                <\/p>\n            <\/div>\n        <\/div>\n\n    <\/div>\n<\/div>\n<script>\n    jQuery(document).ready(function($) {\n        const $form = $('.register-first-screen__form');\n        const $btn = $form.find('.register-first-screen__btn') \/\/ this is <a> element;\n\n        $btn.addClass(\"btn-disabled\");\n\n        \/\/ Enable\/disable based on radio selection\n        $form.find('input[name=\"role\"]').on('change', function() {\n            $btn.removeClass('btn-disabled');\n\n            const val = $(this).val();\n            if (val === 'parent') {\n                $btn.text($form.data('parent-text'));\n            } else if (val === 'student') {\n                $btn.text($form.data('student-text'));\n            }\n        });\n\n        $btn.on('click', function(e) {\n            e.preventDefault();\n\n            const $selectedRole = $form.find('input[name=\"role\"]:checked');\n\n            if ($selectedRole.length) {\n                const roleValue = $selectedRole.val();\n                let redirectUrl = '';\n\n                if (roleValue === 'parent') {\n                    redirectUrl = $form.find('input[name=\"parent_registration_url\"]').val();\n                } else if (roleValue === 'student') {\n                    redirectUrl = $form.find('input[name=\"student_registration_url\"]').val();\n                }\n\n                if (redirectUrl) {\n                    window.location.href = redirectUrl;\n                }\n            }\n        });\n    });\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-540","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/pages\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":1,"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/pages\/540\/revisions"}],"predecessor-version":[{"id":541,"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/pages\/540\/revisions\/541"}],"wp:attachment":[{"href":"https:\/\/concrete-uniform-test.objectsdev.com\/ar\/wp-json\/wp\/v2\/media?parent=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}