{"id":468,"date":"2019-08-27T17:37:58","date_gmt":"2019-08-27T14:37:58","guid":{"rendered":"https:\/\/iod.co.il\/?page_id=468"},"modified":"2019-08-27T17:37:58","modified_gmt":"2019-08-27T14:37:58","slug":"registration","status":"publish","type":"page","link":"https:\/\/iod.co.il\/en\/registration\/","title":{"rendered":"Registration"},"content":{"rendered":"<div id=\"register-form\" class=\"widecolumn\">\r\n    \t\r\n\t \t    <form id=\"signupform\" name=\"regsiter\" action=\"https:\/\/iod.co.il\/wp-login.php?action=register\" method=\"post\"  onSubmit=\"return submitbtn();\">\r\n        <p class=\"form-row half first\">\r\n            <input type=\"text\" name=\"first_name\" id=\"first-name\" placeholder=\"First name\" onfocus=\"focusfirstName();\">\r\n        <\/p>\r\n \r\n        <p class=\"form-row half last\">\r\n            <input type=\"text\" name=\"last_name\" id=\"last-name\"  placeholder=\"Last name\" onfocus=\"focuslastName();\">\r\n        <\/p>\r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"phone\" id=\"phone\"  placeholder=\"Phone\"  onfocus=\"focusPhone();\">\r\n        <\/p>\r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"email\" id=\"email\"  placeholder=\"Email\"  onfocus=\"focusemail();\">\r\n        <\/p>\r\n\t\t\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"address\" id=\"address\"  placeholder=\"Street address + house\">\r\n        <\/p>\r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"address_city\" id=\"address_city\"  placeholder=\"City\">\r\n        <\/p>\r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"address_zip\" id=\"address_zip\"  placeholder=\"ZIP code\">\r\n        <\/p>  \r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"birthday\" id=\"birthday\"  placeholder=\"Birthday\">\r\n        <\/p>  \r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"marrige\" id=\"marrige\" placeholder=\"Anniversary\">\r\n        <\/p> \r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"user_name\" id=\"user_name\" placeholder=\"Username\" onfocus=\"focususerName();\">\r\n        <\/p> \r\n\r\n\t\t<p class=\"form-row\">\r\n            <input type=\"text\" name=\"reg_password\" id=\"reg_password\" placeholder=\"Password\" onfocus=\"focusPassword();\">\r\n        <\/p>    \r\n\r\n\t\t<p class=\"form-row hide\">\r\n            <textarea name=\"pre_payment\" id=\"pre_payment\" placeholder=\"\u05d0\u05de\u05e6\u05e2\u05d9 \u05ea\u05e9\u05dc\u05d5\u05dd, \u05d0\u05e0\u05d0 \u05e4\u05e8\u05d8 \u05d4\u05d9\u05db\u05df \u05d5\u05d0\u05d9\u05da \u05d0\u05ea\u05d4 \u05de\u05e2\u05d5\u05e0\u05d9\u05d9\u05df \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05db\u05e1\u05e3. \u05d9\u05e9 \u05dc\u05e9\u05d9\u05dd \u05dc\u05d1 \u05e9\u05dc\u05e4\u05e0\u05d9 \u05d4\u05ea\u05e9\u05dc\u05d5\u05dd \u05d4\u05e8\u05d0\u05e9\u05d5\u05df \u05e0\u05d9\u05e6\u05d5\u05e8 \u05e2\u05de\u05da \u05e7\u05e9\u05e8 \u05db\u05d3\u05d9 \u05dc\u05d5\u05d5\u05d3\u05d0 \u05e9\u05d4\u05e4\u05e8\u05d8\u05d9 \u05e0\u05db\u05d5\u05e0\u05d9\u05dd \u05d5\u05e2\u05d5\u05d3\u05dd \u05e8\u05dc\u05d5\u05d5\u05e0\u05d8\u05d9\u05d9\u05dd.\"><\/textarea>\r\n        <\/p>   \r\n\t\t\r\n\t\t<p class=\"form-row hide\">\r\n\t\t\t<input type=\"hidden\" class=\"reg-role\" name=\"role\" value=\"\" >\r\n\t\t<\/p> \r\n        <p class=\"signup-submit\">\r\n            <input type=\"submit\" name=\"submit\" class=\"register-button\" value=\"Sign up\"\/>\r\n        <\/p>\r\n    <\/form>\r\n<\/div>\r\n\r\n<style>\r\n.form-cat {\r\n\tpadding: 0 15px; \r\n}\r\nlabel.main-cat-label {\r\n\tfont-weight: 400;\r\n}\r\n<\/style>\r\n<script>\r\nfunction submitbtn() { \r\n\r\n    var first_name = document.forms[\"regsiter\"][\"first_name\"];\r\n    var last_name = document.forms[\"regsiter\"][\"last_name\"];\r\n\tvar cellphone = document.forms[\"regsiter\"][\"phone\"];\r\n\tvar email = document.forms[\"regsiter\"][\"email\"];\r\n\tvar user_name = document.forms[\"regsiter\"][\"user_name\"];\r\n\tvar reg_password = document.forms[\"regsiter\"][\"reg_password\"];\r\n\tvar formValid = true;\r\n\t\r\n    if ( first_name.value == null || first_name.value == \"\" || first_name.value.replace(\/\\s\/g, \"\") == \"\" ||  first_name.value == \"\u05d4\u05e9\u05dd \u05d4\u05e4\u05e8\u05d8\u05d9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" ||  first_name.value == \"\u05e9\u05dd\") {\r\n        first_name.value = \"\u05d4\u05e9\u05dd \u05d4\u05e4\u05e8\u05d8\u05d9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\";\r\n\t\tfirst_name.style.color = \"#bd1718\";\r\n        formValid =  false;\r\n    }\t\r\n    if ( last_name.value == null || last_name.value == \"\" || last_name.value.replace(\/\\s\/g, \"\") == \"\" ||  last_name.value == \"\u05d4\u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05d4 \u05d4\u05d9\u05e0\u05d5 \u05d7\u05d5\u05d1\u05d4\" ||  last_name.value == \"\u05e9\u05dd\") {\r\n        last_name.value =\"\u05d4\u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05d4 \u05d4\u05d9\u05e0\u05d5 \u05d7\u05d5\u05d1\u05d4\";\r\n\t\tlast_name.style.color = \"#bd1718\";\r\n        formValid =  false;\r\n    }\r\n\tif ( email.value == null || email.value == \"\" || email.value.replace(\/\\s\/g, \"\") == \"\" ||  email.value == \"\u05d4\u05de\u05d9\u05d9\u05dc \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" ||  email.value == \"\u05de\u05d9\u05d9\u05dc\") {\r\n\t\temail.value = \"\u05d4\u05de\u05d9\u05d9\u05dc \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\";\r\n\t\temail.style.color = \"#bd1718\";\r\n\t\tformValid =  false;\r\n\t} else if ( !validateEmail(email.value)) {\r\n\t\temail.value = '\u05ea\u05d7\u05d1\u05d9\u05e8 \u05d3\u05d5\u05d0\"\u05dc \u05dc\u05d0 \u05ea\u05e7\u05d9\u05df';\r\n\t\temail.style.color = \"#bd1718\";\r\n\t\tformValid =  false;\r\n\t}\r\n\r\n    if ( cellphone.value == null || cellphone.value == \"\" || cellphone.value.replace(\/\\s\/g, \"\") == \"\" ||  cellphone.value == \"\u05d4\u05d8\u05dc\u05e4\u05d5\u05df \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" ||  cellphone.value == \"\u05d8\u05dc\u05e4\u05d5\u05df\" ) {\r\n        cellphone.value = \"\u05d4\u05d8\u05dc\u05e4\u05d5\u05df \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\";\r\n\t\tcellphone.style.color = \"#bd1718\";\r\n        formValid =  false;\r\n    }\r\n\t\r\n    if ( user_name.value == null || user_name.value == \"\" || user_name.value.replace(\/\\s\/g, \"\") == \"\" ||  user_name.value == \"\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" ||  user_name.value == \"\u05e9\u05dd\"||  user_name.value == '\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05d4\u05db\u05d9\u05dc \u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d1\u05d0\u05e0\u05d2\u05dc\u05d9\u05ea \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d5\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df \u05d1\u05dc\u05d1\u05d3' ) {\r\n        user_name.value = \"\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\";\r\n\t\tuser_name.style.color = \"#bd1718\";\r\n        formValid =  false;\r\n    } else if (!validateUsername(user_name.value )){\r\n\t\tuser_name.value = '\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05d4\u05db\u05d9\u05dc \u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d1\u05d0\u05e0\u05d2\u05dc\u05d9\u05ea \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d5\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df \u05d1\u05dc\u05d1\u05d3';\r\n\t\tuser_name.style.color = \"#bd1718\";\r\n\t\tformValid =  false;\r\n\t}\r\n   \r\n\r\n   \r\n    if ( reg_password.value == null || reg_password.value == \"\" || reg_password.value.replace(\/\\s\/g, \"\") == \"\" ||  reg_password.value == \"\u05d4\u05e1\u05d9\u05e1\u05de\u05d4 \u05d4\u05d9\u05d0 \u05d7\u05d5\u05d1\u05d4\" ||  reg_password.value == \"\u05e1\u05d9\u05e1\u05de\u05d4\" ) {\r\n        reg_password.value = \"\u05d4\u05e1\u05d9\u05e1\u05de\u05d4 \u05d4\u05d9\u05d0 \u05d7\u05d5\u05d1\u05d4\" ;\r\n\t\treg_password.style.color = \"#bd1718\";\r\n        formValid =  false;\r\n    }\r\n   \r\n\t\r\n\treturn formValid; \r\n\r\n}\r\n\r\nfunction focusfirstName() {\r\n    var x = document.getElementById(\"first-name\");\r\n\tif\t( x.value == \"\u05d4\u05e9\u05dd \u05d4\u05e4\u05e8\u05d8\u05d9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\"){\r\n\t\tx.value = \"\";\t\r\n\t}else{\r\n\t\tif( x.value == \"\u05e9\u05dd\" ){\r\n\t\t\t x.value = \"\";\r\n\t\t}\t\r\n\t}\r\n    x.style.color = \"#000\";\r\n}\r\nfunction focuslastName() {\r\n    var x = document.getElementById(\"last-name\");\r\n\tif\t( x.value == \"\u05d4\u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05d4 \u05d4\u05d9\u05e0\u05d5 \u05d7\u05d5\u05d1\u05d4\"){\r\n\t\tx.value = \"\";\t\r\n\t}else{\r\n\t\tif( x.value == \"\u05e9\u05dd\" ){\r\n\t\t\t x.value = \"\";\r\n\t\t}\t\r\n\t}\r\n    x.style.color = \"#000\";\r\n}\r\n\r\nfunction focususerName() {\r\n    var x = document.getElementById(\"user_name\");\r\n\tif\t( x.value ==  \"\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" || x.value == '\u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05d4\u05db\u05d9\u05dc \u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d1\u05d0\u05e0\u05d2\u05dc\u05d9\u05ea \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d5\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df \u05d1\u05dc\u05d1\u05d3'){\r\n\t\tx.value = \"\";\t\r\n\t}else{\r\n\t\tif( x.value == \"\u05e9\u05dd\" ){\r\n\t\t\t x.value = \"\";\r\n\t\t}\t\r\n\t}\r\n    x.style.color = \"#000\";\r\n}\r\nfunction focusPassword() {\r\n    var x = document.getElementById(\"reg_password\");\r\n\tif\t( x.value ==  \"\u05d4\u05e1\u05d9\u05e1\u05de\u05d4 \u05d4\u05d9\u05d0 \u05d7\u05d5\u05d1\u05d4\"){\r\n\t\tx.value = \"\";\t\r\n\t}else{\r\n\t\tif( x.value == \"\u05e1\u05d9\u05e1\u05de\u05d4\" ){\r\n\t\t\t x.value = \"\";\r\n\t\t}\t\r\n\t}\r\n    x.style.color = \"#000\";\r\n}\r\n\r\nfunction focusPhone() {\r\n    var y = document.getElementById(\"phone\");\r\n\tif\t( y.value == \"\u05d4\u05d8\u05dc\u05e4\u05d5\u05df \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\"){\r\n\t\ty.value = \"\";\t\r\n\t}else{\r\n\t\tif( y.value == \"\u05d8\u05dc\u05e4\u05d5\u05df\" ){\r\n\t\t\t y.value = \"\";\r\n\t\t}\t\r\n\t}\r\n    y.style.color = \"#000\";\r\n}\r\nfunction focusemail() {\r\n    var z = document.getElementById(\"email\");\r\n\tif( z.value == \"\u05d4\u05de\u05d9\u05d9\u05dc \u05d4\u05d5\u05d0 \u05d7\u05d5\u05d1\u05d4\" || z.value == '\u05ea\u05d7\u05d1\u05d9\u05e8 \u05d3\u05d5\u05d0\"\u05dc \u05dc\u05d0 \u05ea\u05e7\u05d9\u05df' ) {\r\n\t\t z.value = \"\";\r\n\t}\t\r\n    z.style.color = \"#000\";\r\n}\r\nfunction validateEmail(email) {\r\n\tvar re = \/^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$\/;\r\n\treturn re.test(email);\r\n}\r\nfunction validateUsername(username) {\r\n\tvar re = \/^[a-zA-Z0-9_]{5,}[a-zA-Z]+[0-9]*$\/;\r\n\treturn re.test(username);\r\n}\r\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":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.4.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Registration - iod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iod.co.il\/en\/registration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Registration - iod\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iod.co.il\/en\/registration\/\" \/>\n<meta property=\"og:site_name\" content=\"iod\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iod.co.il\/en\/#website\",\"url\":\"https:\/\/iod.co.il\/en\/\",\"name\":\"iod\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iod.co.il\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iod.co.il\/en\/registration\/#webpage\",\"url\":\"https:\/\/iod.co.il\/en\/registration\/\",\"name\":\"Registration - iod\",\"isPartOf\":{\"@id\":\"https:\/\/iod.co.il\/en\/#website\"},\"datePublished\":\"2019-08-27T14:37:58+00:00\",\"dateModified\":\"2019-08-27T14:37:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/iod.co.il\/en\/registration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iod.co.il\/en\/registration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iod.co.il\/en\/registration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u05d3\u05e3 \u05d4\u05d1\u05d9\u05ea\",\"item\":\"https:\/\/iod.co.il\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Registration\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Registration - iod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/iod.co.il\/en\/registration\/","og_locale":"en_US","og_type":"article","og_title":"Registration - iod","og_url":"https:\/\/iod.co.il\/en\/registration\/","og_site_name":"iod","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/iod.co.il\/en\/#website","url":"https:\/\/iod.co.il\/en\/","name":"iod","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iod.co.il\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/iod.co.il\/en\/registration\/#webpage","url":"https:\/\/iod.co.il\/en\/registration\/","name":"Registration - iod","isPartOf":{"@id":"https:\/\/iod.co.il\/en\/#website"},"datePublished":"2019-08-27T14:37:58+00:00","dateModified":"2019-08-27T14:37:58+00:00","breadcrumb":{"@id":"https:\/\/iod.co.il\/en\/registration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iod.co.il\/en\/registration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iod.co.il\/en\/registration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u05d3\u05e3 \u05d4\u05d1\u05d9\u05ea","item":"https:\/\/iod.co.il\/en\/"},{"@type":"ListItem","position":2,"name":"Registration"}]}]}},"_links":{"self":[{"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/pages\/468"}],"collection":[{"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":1,"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/pages\/468\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/pages\/468\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/iod.co.il\/en\/wp-json\/wp\/v2\/media?parent=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}