{"id":674,"date":"2026-01-21T17:28:24","date_gmt":"2026-01-21T17:28:24","guid":{"rendered":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/?page_id=674"},"modified":"2026-01-21T17:51:55","modified_gmt":"2026-01-21T17:51:55","slug":"appointment","status":"publish","type":"page","link":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/appointment\/","title":{"rendered":"\u03a1\u03b1\u03bd\u03c4\u03b5\u03b2\u03bf\u03cd \u03b3\u03b9\u03b1 \u03b5\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7 \u03b3\u03bf\u03bd\u03ad\u03b1"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"674\" class=\"elementor elementor-674\" wpc-filter-elementor-widget=\"1\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7bbddcc e-flex e-con-boxed e-con e-parent\" data-id=\"7bbddcc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d427d53 elementor-widget elementor-widget-shortcode\" data-id=\"d427d53\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><style id=\"wpforms-css-vars-672\">\n\t\t\t\t#wpforms-672 {\n\t\t\t\t--wpforms-container-padding: 0px;\n--wpforms-container-border-width: 1px;\n--wpforms-container-border-radius: 3px;\n--wpforms-background-color: rgba(0, 0, 0, 0);\n--wpforms-field-size-input-height: 43px;\n--wpforms-field-size-input-spacing: 15px;\n--wpforms-field-size-font-size: 16px;\n--wpforms-field-size-line-height: 19px;\n--wpforms-field-size-padding-h: 14px;\n--wpforms-field-size-checkbox-size: 16px;\n--wpforms-field-size-sublabel-spacing: 5px;\n--wpforms-field-size-icon-size: 1;\n--wpforms-label-size-font-size: 16px;\n--wpforms-label-size-line-height: 19px;\n--wpforms-label-size-sublabel-font-size: 14px;\n--wpforms-label-size-sublabel-line-height: 17px;\n--wpforms-button-size-font-size: 17px;\n--wpforms-button-size-height: 41px;\n--wpforms-button-size-padding-h: 15px;\n--wpforms-button-size-margin-top: 10px;\n--wpforms-container-shadow-size-box-shadow: none;\n\t\t\t}\n\t\t\t<\/style><div class=\"wpforms-container wpforms-container-full wpforms-render-modern\" id=\"wpforms-672\"><form id=\"wpforms-form-672\" class=\"wpforms-validate wpforms-form wpforms-ajax-form\" data-formid=\"672\" method=\"post\" enctype=\"multipart\/form-data\" action=\"\/wordpress\/wp-json\/wp\/v2\/pages\/674\" data-token=\"93b2316908ab4b3219aaf4d82a52dc2f\" data-token-time=\"1786348800\"><noscript class=\"wpforms-error-noscript\">Please enable JavaScript in your browser to complete this form.<\/noscript><div id=\"wpforms-error-noscript\" style=\"display: none;\">Please enable JavaScript in your browser to complete this form.<\/div><div class=\"wpforms-field-container\"><div id=\"wpforms-672-field_12-container\" class=\"wpforms-field wpforms-field-radio\" data-field-id=\"12\"><fieldset><legend class=\"wpforms-field-label\">\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u0397\u03bc\u03ad\u03c1\u03b1\u03c2 <span class=\"wpforms-required-label\" aria-hidden=\"true\">*<\/span><\/legend><ul id=\"wpforms-672-field_12\" class=\"wpforms-field-required\"><li class=\"choice-1 depth-1\"><input type=\"radio\" id=\"wpforms-672-field_12_1\" name=\"wpforms[fields][12]\" value=\"\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1\" aria-errormessage=\"wpforms-672-field_12_1-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_12_1\">\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1<\/label><\/li><li class=\"choice-2 depth-1\"><input type=\"radio\" id=\"wpforms-672-field_12_2\" name=\"wpforms[fields][12]\" value=\"\u03a4\u03c1\u03af\u03c4\u03b7\" aria-errormessage=\"wpforms-672-field_12_2-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_12_2\">\u03a4\u03c1\u03af\u03c4\u03b7<\/label><\/li><li class=\"choice-3 depth-1\"><input type=\"radio\" id=\"wpforms-672-field_12_3\" name=\"wpforms[fields][12]\" value=\"\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7\" aria-errormessage=\"wpforms-672-field_12_3-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_12_3\">\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7<\/label><\/li><li class=\"choice-4 depth-1\"><input type=\"radio\" id=\"wpforms-672-field_12_4\" name=\"wpforms[fields][12]\" value=\"\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7\" aria-errormessage=\"wpforms-672-field_12_4-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_12_4\">\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7<\/label><\/li><li class=\"choice-5 depth-1\"><input type=\"radio\" id=\"wpforms-672-field_12_5\" name=\"wpforms[fields][12]\" value=\"\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae\" aria-errormessage=\"wpforms-672-field_12_5-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_12_5\">\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae<\/label><\/li><\/ul><\/fieldset><\/div><div id=\"wpforms-672-field_7-container\" class=\"wpforms-field wpforms-field-checkbox wpforms-list-inline\" data-field-id=\"7\"><fieldset><legend class=\"wpforms-field-label\">\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u038f\u03c1\u03b1\u03c2 <span class=\"wpforms-required-label\" aria-hidden=\"true\">*<\/span><\/legend><ul id=\"wpforms-672-field_7\" class=\"wpforms-field-required\"><li class=\"choice-1 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_1\" name=\"wpforms[fields][7][]\" value=\"8:00-9:00\" aria-errormessage=\"wpforms-672-field_7_1-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_1\">8:00-9:00<\/label><\/li><li class=\"choice-2 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_2\" name=\"wpforms[fields][7][]\" value=\"9:00-10:00\" aria-errormessage=\"wpforms-672-field_7_2-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_2\">9:00-10:00<\/label><\/li><li class=\"choice-3 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_3\" name=\"wpforms[fields][7][]\" value=\"10:00-11:00\" aria-errormessage=\"wpforms-672-field_7_3-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_3\">10:00-11:00<\/label><\/li><li class=\"choice-4 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_4\" name=\"wpforms[fields][7][]\" value=\"11:00-12:00\" aria-errormessage=\"wpforms-672-field_7_4-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_4\">11:00-12:00<\/label><\/li><li class=\"choice-5 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_5\" name=\"wpforms[fields][7][]\" value=\"12:00-13:00\" aria-errormessage=\"wpforms-672-field_7_5-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_5\">12:00-13:00<\/label><\/li><li class=\"choice-6 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_7_6\" name=\"wpforms[fields][7][]\" value=\"13:00-14:00\" aria-errormessage=\"wpforms-672-field_7_6-error\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_7_6\">13:00-14:00<\/label><\/li><\/ul><\/fieldset><\/div>\t\t<div id=\"wpforms-672-field_1-container\"\n\t\t\tclass=\"wpforms-field wpforms-field-text\"\n\t\t\tdata-field-type=\"text\"\n\t\t\tdata-field-id=\"1\"\n\t\t\t>\n\t\t\t<label class=\"wpforms-field-label\" for=\"wpforms-672-field_1\" >\u0395\u03af\u03bc\u03b1\u03b9 \u038c\u03bd\u03bf\u03bc\u03b1 \u039c\u03b1\u03b8\u03b7\u03c4\u03ae:<\/label>\n\t\t\t<input type=\"text\" id=\"wpforms-672-field_1\" class=\"wpforms-field-medium\" name=\"wpforms[fields][1]\" >\n\t\t<\/div>\n\t\t<div id=\"wpforms-672-field_8-container\" class=\"wpforms-field wpforms-field-checkbox\" data-field-id=\"8\"><fieldset><legend class=\"wpforms-field-label\">\u0394\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03b9 \u039a\u03b1\u03b8\u03b7\u03b3\u03b7\u03c4\u03ad\u03c2 <span class=\"wpforms-required-label\" aria-hidden=\"true\">*<\/span><\/legend><ul id=\"wpforms-672-field_8\" class=\"wpforms-field-required\"><li class=\"choice-1 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_8_1\" name=\"wpforms[fields][8][]\" value=\"Teacher1\" aria-errormessage=\"wpforms-672-field_8_1-error\" aria-describedby=\"wpforms-672-field_8-description\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_8_1\">Teacher1<\/label><\/li><li class=\"choice-2 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_8_2\" name=\"wpforms[fields][8][]\" value=\"Teacher2\" aria-errormessage=\"wpforms-672-field_8_2-error\" aria-describedby=\"wpforms-672-field_8-description\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_8_2\">Teacher2<\/label><\/li><li class=\"choice-3 depth-1\"><input type=\"checkbox\" id=\"wpforms-672-field_8_3\" name=\"wpforms[fields][8][]\" value=\"Teacher3\" aria-errormessage=\"wpforms-672-field_8_3-error\" aria-describedby=\"wpforms-672-field_8-description\" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-672-field_8_3\">Teacher3<\/label><\/li><\/ul><div id=\"wpforms-672-field_8-description\" class=\"wpforms-field-description\">\u0391\u03bd \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03ba\u03bb\u03b5\u03af\u03c3\u03b5\u03c4\u03b5 \u03c1\u03b1\u03bd\u03c4\u03b5\u03b2\u03bf\u03cd \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf\u03c5\u03c2 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b8\u03b7\u03b3\u03b7\u03c4\u03ad\u03c2 \u03ba\u03b1\u03b9 \u03c3\u03c5\u03bc\u03c0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03c0\u03b5\u03b4\u03af\u03b1:<\/div><\/fieldset><\/div><div id=\"wpforms-672-field_0-container\" class=\"wpforms-field wpforms-field-name\" data-field-id=\"0\"><label class=\"wpforms-field-label\" for=\"wpforms-672-field_0\">\u038c\u03bd\u03bf\u03bc\u03b1 <span class=\"wpforms-required-label\" aria-hidden=\"true\">*<\/span><\/label><input type=\"text\" id=\"wpforms-672-field_0\" class=\"wpforms-field-large wpforms-field-required\" name=\"wpforms[fields][0]\" aria-errormessage=\"wpforms-672-field_0-error\" required><\/div><div id=\"wpforms-672-field_3-container\" class=\"wpforms-field wpforms-field-name\" data-field-id=\"3\"><fieldset><legend class=\"wpforms-field-label\">\u0395\u03af\u03bc\u03b1\u03b9 \u039a\u03b7\u03b4\u03b5\u03bc\u03cc\u03bd\u03b1\u03c2 \u03c4\u03bf\u03c5 \u039c\u03b1\u03b8\u03b7\u03c4\u03ae: <span class=\"wpforms-required-label\" aria-hidden=\"true\">*<\/span><\/legend><div class=\"wpforms-field-row wpforms-field-large\"><div class=\"wpforms-field-row-block wpforms-first wpforms-one-half\"><input type=\"text\" id=\"wpforms-672-field_3\" class=\"wpforms-field-name-first wpforms-field-required\" name=\"wpforms[fields][3][first]\" aria-errormessage=\"wpforms-672-field_3-error\" required><label for=\"wpforms-672-field_3\" class=\"wpforms-field-sublabel after\">First<\/label><\/div><div class=\"wpforms-field-row-block wpforms-one-half\"><input type=\"text\" id=\"wpforms-672-field_3-last\" class=\"wpforms-field-name-last wpforms-field-required\" name=\"wpforms[fields][3][last]\" aria-errormessage=\"wpforms-672-field_3-last-error\" required><label for=\"wpforms-672-field_3-last\" class=\"wpforms-field-sublabel after\">Last<\/label><\/div><\/div><\/fieldset><\/div><div id=\"wpforms-672-field_2-container\" class=\"wpforms-field wpforms-field-textarea\" data-field-id=\"2\"><label class=\"wpforms-field-label\" for=\"wpforms-672-field_2\">\u03a0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c3\u03c4\u03b5 \u03a3\u03c7\u03cc\u03bb\u03b9\u03bf<\/label><textarea id=\"wpforms-672-field_2\" class=\"wpforms-field-medium\" name=\"wpforms[fields][2]\" aria-errormessage=\"wpforms-672-field_2-error\" ><\/textarea><\/div><script>\n\t\t\t\t( function() {\n\t\t\t\t\tconst style = document.createElement( 'style' );\n\t\t\t\t\tstyle.appendChild( document.createTextNode( '#wpforms-672-field_1-container { position: absolute !important; overflow: hidden !important; display: inline !important; height: 1px !important; width: 1px !important; z-index: -1000 !important; padding: 0 !important; } #wpforms-672-field_1-container input { visibility: hidden; } #wpforms-conversational-form-page #wpforms-672-field_1-container label { counter-increment: none; }' ) );\n\t\t\t\t\tdocument.head.appendChild( style );\n\t\t\t\t\tdocument.currentScript?.remove();\n\t\t\t\t} )();\n\t\t\t<\/script><\/div><!-- .wpforms-field-container --><div class=\"wpforms-submit-container\" ><input type=\"hidden\" name=\"wpforms[id]\" value=\"672\"><input type=\"hidden\" name=\"page_title\" value=\"\"><input type=\"hidden\" name=\"page_url\" value=\"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/pages\/674\"><input type=\"hidden\" name=\"url_referer\" value=\"\"><button type=\"submit\" name=\"wpforms[submit]\" id=\"wpforms-submit-672\" class=\"wpforms-submit\" data-alt-text=\"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae...\" data-submit-text=\"\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf \u03a1\u03b1\u03bd\u03c4\u03b5\u03b2\u03bf\u03cd\" aria-live=\"assertive\" value=\"wpforms-submit\">\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf \u03a1\u03b1\u03bd\u03c4\u03b5\u03b2\u03bf\u03cd<\/button><img decoding=\"async\" src=\"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-content\/plugins\/wpforms-lite\/assets\/images\/submit-spin.svg\" class=\"wpforms-submit-spinner\" style=\"display: none;\" width=\"26\" height=\"26\" alt=\"Loading\"><\/div><\/form><\/div>  <!-- .wpforms-container --><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e7a8469 e-flex e-con-boxed e-con e-parent\" data-id=\"e7a8469\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3b0494a elementor-widget elementor-widget-shortcode\" data-id=\"3b0494a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n\r\n  const availability = {\r\n    Teacher1: {\r\n      \"\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1\": [\"8:00-9:00\",\"9:00-10:00\",\"10:00-11:00\"],\r\n      \"\u03a4\u03c1\u03af\u03c4\u03b7\": [\"10:00-11:00\",\"11:00-12:00\"],\r\n      \"\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7\": [\"8:00-9:00\"],\r\n      \"\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7\": [\"9:00-10:00\"],\r\n      \"\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae\": [\"10:00-11:00\"]\r\n    },\r\n    Teacher2: {\r\n      \"\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1\": [\"9:00-10:00\",\"10:00-11:00\"],\r\n      \"\u03a4\u03c1\u03af\u03c4\u03b7\": [\"10:00-11:00\"],\r\n      \"\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7\": [\"10:00-11:00\",\"11:00-12:00\"],\r\n      \"\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7\": [\"9:00-10:00\"],\r\n      \"\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae\": [\"9:00-10:00\",\"10:00-11:00\"]\r\n    },\r\n    Teacher3: {\r\n      \"\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1\": [\"8:00-9:00\",\"9:00-10:00\"],\r\n      \"\u03a4\u03c1\u03af\u03c4\u03b7\": [\"11:00-12:00\"],\r\n      \"\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7\": [\"12:00-13:00\"],\r\n      \"\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7\": [\"10:00-11:00\"],\r\n      \"\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae\": [\"11:00-12:00\"]\r\n    }\r\n  };\r\n\r\n  const formID = 672;\r\n\r\n  function updateTeachers() {\r\n    const dayInput = document.querySelector(`#wpforms-${formID}-field_12 input[type=\"radio\"]:checked`);\r\n    const hourInputs = document.querySelectorAll(`#wpforms-${formID}-field_7 input[type=\"checkbox\"]:checked`);\r\n    const teacherInputs = document.querySelectorAll(`#wpforms-${formID}-field_8 input[type=\"checkbox\"]`);\r\n\r\n    \/\/ \u0391\u03bd \u03b4\u03b5\u03bd \u03ad\u03c7\u03b5\u03b9 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03b5\u03af \u03bc\u03ad\u03c1\u03b1 \u03ae \u03ce\u03c1\u03b1, \u03ba\u03c1\u03cd\u03b2\u03bf\u03c5\u03bc\u03b5 \u03cc\u03bb\u03bf\u03c5\u03c2 \u03c4\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b8\u03b7\u03b3\u03b7\u03c4\u03ad\u03c2\r\n    if (!dayInput || hourInputs.length === 0) {\r\n      teacherInputs.forEach(t => {\r\n        const wrapper = t.closest(\"li\") || t.closest(\".wpforms-field\");\r\n        if(wrapper) wrapper.style.display = \"none\";\r\n\r\n        \/\/ \u039a\u03b1\u03b8\u03b1\u03c1\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c4\u03b9\u03c2 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03b6\u03cc\u03bc\u03b5\u03bd\u03b5\u03c2 \u03ce\u03c1\u03b5\u03c2\r\n        let container = t.parentNode.querySelector(\".available-hours-container\");\r\n        if(container) container.remove();\r\n      });\r\n      return;\r\n    }\r\n\r\n    const selectedDay = dayInput.value;\r\n    const selectedHours = [...hourInputs].map(h => h.value);\r\n\r\n    teacherInputs.forEach(t => {\r\n      const name = t.value;\r\n      const available = availability[name]?.[selectedDay] || [];\r\n      const ok = selectedHours.some(h => available.includes(h));\r\n\r\n      const wrapper = t.closest(\"li\") || t.closest(\".wpforms-field\");\r\n      if(wrapper) wrapper.style.display = ok ? \"block\" : \"none\";\r\n\r\n      \/\/ \u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd\u03bc\u03b5 container \u03b3\u03b9\u03b1 \u03c4\u03b9\u03c2 \u03ce\u03c1\u03b5\u03c2\r\n      let container = t.parentNode.querySelector(\".available-hours-container\");\r\n      if(!container) {\r\n        container = document.createElement(\"span\");\r\n        container.className = \"available-hours-container\";\r\n        container.style.marginLeft = \"10px\";\r\n        t.parentNode.appendChild(container);\r\n      }\r\n\r\n      \/\/ \u039a\u03b1\u03b8\u03b1\u03c1\u03af\u03b6\u03bf\u03c5\u03bc\u03b5 \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b5\u03c2 \u03ce\u03c1\u03b5\u03c2\r\n      container.innerHTML = \"\";\r\n\r\n      \/\/ \u03a0\u03c1\u03bf\u03c3\u03b8\u03ad\u03c4\u03bf\u03c5\u03bc\u03b5 \u03ba\u03ac\u03b8\u03b5 \u03ce\u03c1\u03b1 \u03c3\u03b1\u03bd \"\u03ba\u03bf\u03c5\u03c4\u03ac\u03ba\u03b9\"\r\n      available.forEach(hour => {\r\n        const span = document.createElement(\"span\");\r\n        span.textContent = `[${hour}]`;\r\n        span.style.background = \"#f0f0f0\";\r\n        span.style.border = \"1px solid #ccc\";\r\n        span.style.padding = \"2px 6px\";\r\n        span.style.marginRight = \"4px\";\r\n        span.style.borderRadius = \"4px\";\r\n        span.style.fontSize = \"0.85em\";\r\n        container.appendChild(span);\r\n      });\r\n    });\r\n  }\r\n\r\n  function attachListeners() {\r\n    const dayRadios = document.querySelectorAll(`#wpforms-${formID}-field_12 input[type=\"radio\"]`);\r\n    const hourCheckboxes = document.querySelectorAll(`#wpforms-${formID}-field_7 input[type=\"checkbox\"]`);\r\n\r\n    dayRadios.forEach(r => r.addEventListener(\"change\", updateTeachers));\r\n    hourCheckboxes.forEach(c => c.addEventListener(\"change\", updateTeachers));\r\n\r\n    updateTeachers();\r\n  }\r\n\r\n  const targetNode = document.getElementById(`wpforms-${formID}`);\r\n  if(targetNode){\r\n    const observer = new MutationObserver((mutationsList, observer) => {\r\n      if(document.querySelector(`#wpforms-${formID}-field_12 input[type=\"radio\"]`)){\r\n        attachListeners();\r\n        observer.disconnect();\r\n      }\r\n    });\r\n    observer.observe(targetNode, { childList: true, subtree: true });\r\n  } else {\r\n    attachListeners();\r\n  }\r\n\r\n});\r\n<\/script><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","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,"_eb_attr":"","footnotes":""},"class_list":["post-674","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/pages\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":9,"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/pages\/674\/revisions"}],"predecessor-version":[{"id":684,"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/pages\/674\/revisions\/684"}],"wp:attachment":[{"href":"https:\/\/nyiannios.sites.sch.gr\/wordpress\/wp-json\/wp\/v2\/media?parent=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}