{"id":524,"date":"2026-08-19T19:48:11","date_gmt":"2026-08-19T19:48:11","guid":{"rendered":"https:\/\/newwest-edu.com\/?page_id=524"},"modified":"2026-08-19T20:07:37","modified_gmt":"2026-08-19T20:07:37","slug":"student-registration","status":"publish","type":"page","link":"https:\/\/newwest-edu.com\/?page_id=524","title":{"rendered":"Student Registration"},"content":{"rendered":"\n<style>\n  #newwest-registration-app,\n  #newwest-registration-app * { box-sizing: border-box; }\n  #newwest-registration-app {\n    --nw-text: #54595f;\n    --nw-muted: #7a7a7a;\n    --nw-line: #69727d;\n    --nw-alert: #f06455;\n    --nw-green: #61ce70;\n    width: min(calc(100% - 64px), 1120px);\n    margin: 0 auto;\n    padding: 32px 0 180px;\n    color: var(--nw-text);\n    background: #fff;\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Arial, \"Noto Sans\", sans-serif;\n    font-size: 20px;\n    line-height: 1.5;\n  }\n  #newwest-registration-app .nw-header { text-align: center; }\n  #newwest-registration-app .nw-logo { display: block; width: 293px; height: auto; margin: 0 auto; }\n  #newwest-registration-app h1 {\n    margin: 22px 0 6px;\n    color: var(--nw-text);\n    font: 600 35px\/1.05 Roboto, Arial, sans-serif;\n  }\n  #newwest-registration-app h1 span { display: block; }\n  #newwest-registration-app section { margin-top: 26px; }\n  #newwest-registration-app h2,\n  #newwest-registration-app .nw-note {\n    margin: 0 0 28px;\n    color: var(--nw-alert);\n    font-size: 20px;\n    font-weight: 400;\n  }\n  #newwest-registration-app .nw-note:first-child { margin-top: 8px; }\n  #newwest-registration-app .nw-field { margin-bottom: 8px; }\n  #newwest-registration-app .nw-field label,\n  #newwest-registration-app fieldset legend {\n    display: block;\n    margin: 0;\n    color: var(--nw-muted);\n    font-size: 20px;\n    line-height: 1.25;\n  }\n  #newwest-registration-app .nw-required { color: #e51414; }\n  #newwest-registration-app .nw-field input {\n    display: block;\n    width: 100%;\n    height: 44px;\n    margin: 0;\n    padding: 10px 20px;\n    border: 1px solid var(--nw-line);\n    border-radius: 3px;\n    background: #fff;\n    color: var(--nw-muted);\n    font: 400 15px Roboto, Arial, sans-serif;\n  }\n  #newwest-registration-app .nw-field input:focus {\n    border-color: #3b82f6;\n    outline: 2px solid rgba(59, 130, 246, .2);\n  }\n  #newwest-registration-app fieldset {\n    margin: 6px 0 10px;\n    padding: 0;\n    border: 0;\n  }\n  #newwest-registration-app fieldset label {\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    margin-right: 12px;\n    color: var(--nw-muted);\n  }\n  #newwest-registration-app fieldset input,\n  #newwest-registration-app .nw-acceptance input { width: 14px; height: 14px; margin: 0; }\n  #newwest-registration-app .nw-terms { margin-top: 48px; color: var(--nw-muted); }\n  #newwest-registration-app .nw-terms h2 { margin-bottom: 34px; color: var(--nw-muted); }\n  #newwest-registration-app .nw-terms p { margin: 0 0 38px; }\n  #newwest-registration-app .nw-terms p span { display: block; }\n  #newwest-registration-app .nw-acceptance { display: flex; align-items: flex-start; gap: 7px; margin: 8px 0 4px; }\n  #newwest-registration-app .nw-acceptance input { flex: 0 0 auto; margin-top: 8px; }\n  #newwest-registration-app .nw-message { margin: 12px 0; padding: 10px 14px; border-radius: 3px; font-size: 16px; }\n  #newwest-registration-app .nw-message[data-state=\"success\"] { color: #287b35; background: #ebf9ee; }\n  #newwest-registration-app .nw-message[data-state=\"error\"] { color: #a33024; background: #fff0ee; }\n  #newwest-registration-app .nw-submit {\n    width: 100%;\n    min-height: 42px;\n    border: 0;\n    border-radius: 3px;\n    background: var(--nw-green);\n    color: #fff;\n    font: 500 15px Roboto, Arial, sans-serif;\n    cursor: pointer;\n  }\n  #newwest-registration-app .nw-submit:hover { background: #4fbc60; }\n  #newwest-registration-app .nw-submit:disabled { cursor: wait; opacity: .72; }\n  @media (max-width: 767px) {\n    #newwest-registration-app { width: min(calc(100% - 28px), 1120px); padding-top: 20px; font-size: 17px; }\n    #newwest-registration-app .nw-logo { width: 220px; }\n    #newwest-registration-app h1 { font-size: 29px; }\n    #newwest-registration-app h2,\n    #newwest-registration-app .nw-note,\n    #newwest-registration-app .nw-field label,\n    #newwest-registration-app fieldset legend,\n    #newwest-registration-app fieldset label { font-size: 17px; }\n  }\n<\/style>\n\n<main id=\"newwest-registration-app\">\n  <header class=\"nw-header\">\n    <img fetchpriority=\"high\" decoding=\"async\" class=\"nw-logo\" src=\"\/wp-content\/uploads\/2022\/07\/logo-293x300.png\" alt=\"New West Sprachschule\" width=\"293\" height=\"300\">\n    <h1>Registration as Student <span>(\u5b66\u5458\u62a5\u540d\u8868)<\/span><\/h1>\n  <\/header>\n\n  <form id=\"nw-registration-form\" aria-label=\"Registration\" data-endpoint=\"https:\/\/script.google.com\/macros\/s\/AKfycbzDi4CmZXnJhTrniXgGpJalTOwcamGSELsheaMkhl00Pf9-JnBFe0cMe2YRA7fdMaGq\/exec?token=423ffcc32e8d159b9c5479c09024c0e0f280dab256fbd64c\">\n    <p class=\"nw-note\">*\u8bf7\u4f7f\u7528\u62fc\u97f3\u6216\u82f1\u6587\u586b\u5199\uff01<\/p>\n\n    <section><h2>*\u5b66\u751f1<\/h2>\n      <div class=\"nw-field\"><label for=\"student1_lastname\">Last Name (Student) <span class=\"nw-required\">*<\/span><\/label><input id=\"student1_lastname\" name=\"student1_lastname\" placeholder=\"\u59d3\uff08\u5b66\u5458\uff09\" required><\/div>\n      <div class=\"nw-field\"><label for=\"student1_firstname\">First Name (Student) <span class=\"nw-required\">*<\/span><\/label><input id=\"student1_firstname\" name=\"student1_firstname\" placeholder=\"\u540d\uff08\u5b66\u5458\uff09\" required><\/div>\n      <div class=\"nw-field\"><label for=\"student1_nickname\">Nickname (Student)<\/label><input id=\"student1_nickname\" name=\"student1_nickname\" placeholder=\"\u5c0f\u540d\uff08\u5b66\u5458\uff09\"><\/div>\n      <fieldset><legend>Gender (Male \u7537 Female \u5973) <span class=\"nw-required\">*<\/span><\/legend><label><input type=\"radio\" name=\"student1_gender\" value=\"Male\" required> Male<\/label><label><input type=\"radio\" name=\"student1_gender\" value=\"Female\" required> Female<\/label><\/fieldset>\n      <div class=\"nw-field\"><label for=\"student1_birthday\">Birthday (Student) <span class=\"nw-required\">*<\/span><\/label><input id=\"student1_birthday\" name=\"student1_birthday\" type=\"date\" required><\/div>\n    <\/section>\n\n    <section><h2>*\u5b66\u751f2<\/h2>\n      <div class=\"nw-field\"><label for=\"student2_lastname\">Last Name (Student2)<\/label><input id=\"student2_lastname\" name=\"student2_lastname\" placeholder=\"\u59d3\uff08\u5b66\u54582\uff09\"><\/div>\n      <div class=\"nw-field\"><label for=\"student2_firstname\">First Name (Student2)<\/label><input id=\"student2_firstname\" name=\"student2_firstname\" placeholder=\"\u540d\uff08\u5b66\u54582\uff09\"><\/div>\n      <div class=\"nw-field\"><label for=\"student2_nickname\">Nickname (Student2)<\/label><input id=\"student2_nickname\" name=\"student2_nickname\" placeholder=\"\u5c0f\u540d\uff08\u5b66\u54582\uff09\"><\/div>\n      <fieldset><legend>Gender (Male \u7537 Female \u5973)<\/legend><label><input type=\"radio\" name=\"student2_gender\" value=\"Male\"> Male<\/label><label><input type=\"radio\" name=\"student2_gender\" value=\"Female\"> Female<\/label><\/fieldset>\n      <div class=\"nw-field\"><label for=\"student2_birthday\">Birthday (Student2)<\/label><input id=\"student2_birthday\" name=\"student2_birthday\" type=\"date\"><\/div>\n    <\/section>\n\n    <section><h2>*\u672a\u6210\u5e74\u5b66\u751f\u5bb6\u957f\u586b\u5199, (\u6210\u4eba\u5b66\u5458, \u4fe1\u606f\u540c\u4e0a\u7684\u65e0\u9700\u586b\u5199)<\/h2>\n      <div class=\"nw-field\"><label for=\"payer_lastname\">Last Name (Payer)<\/label><input id=\"payer_lastname\" name=\"payer_lastname\" placeholder=\"\u59d3\uff08\u4ed8\u6b3e\u4eba\uff09\"><\/div>\n      <div class=\"nw-field\"><label for=\"payer_firstname\">First Name (Payer)<\/label><input id=\"payer_firstname\" name=\"payer_firstname\" placeholder=\"\u540d\uff08\u4ed8\u6b3e\u4eba\uff09\"><\/div>\n      <fieldset><legend>Gender (Male \u7537 Female \u5973)<\/legend><label><input type=\"radio\" name=\"payer_gener\" value=\"Male\"> Male<\/label><label><input type=\"radio\" name=\"payer_gener\" value=\"Female\"> Female<\/label><\/fieldset>\n    <\/section>\n\n    <section><h2>*\u901a\u8baf\u4fe1\u606f<\/h2>\n      <div class=\"nw-field\"><label for=\"email\">Email <span class=\"nw-required\">*<\/span><\/label><input id=\"email\" name=\"email\" type=\"email\" placeholder=\"\u90ae\u7bb1\" required><\/div>\n      <div class=\"nw-field\"><label for=\"cellphone\">Cellphone <span class=\"nw-required\">*<\/span><\/label><input id=\"cellphone\" name=\"cellphone\" type=\"tel\" placeholder=\"\u79fb\u52a8\u7535\u8bdd\" required><\/div>\n      <div class=\"nw-field\"><label for=\"country\">Country <span class=\"nw-required\">*<\/span><\/label><input id=\"country\" name=\"country\" value=\"Germany\" placeholder=\"\u56fd\u5bb6\" required><\/div>\n      <div class=\"nw-field\"><label for=\"city\">City <span class=\"nw-required\">*<\/span><\/label><input id=\"city\" name=\"city\" placeholder=\"\u57ce\u5e02\" required><\/div>\n      <div class=\"nw-field\"><label for=\"street\">Street <span class=\"nw-required\">*<\/span><\/label><input id=\"street\" name=\"street\" placeholder=\"\u8857\u9053\u540d\" required><\/div>\n      <div class=\"nw-field\"><label for=\"street_number\">Street Number <span class=\"nw-required\">*<\/span><\/label><input id=\"street_number\" name=\"street_number\" placeholder=\"\u95e8\u724c\u53f7\" required><\/div>\n      <div class=\"nw-field\"><label for=\"postcode\">Post Code <span class=\"nw-required\">*<\/span><\/label><input id=\"postcode\" name=\"postcode\" placeholder=\"\u90ae\u7f16\" required><\/div>\n    <\/section>\n\n    <section class=\"nw-terms\"><h2>Note: (\u6ce8\u610f\u4e8b\u9879)<\/h2>\n      <p>1. \u5c0f\u7ec4\u8bfe\u7a0b\u5b66\u5458\u65f7\u8bfe\u5c06\u7167\u5e38\u6536\u8d39<span>(Students who are absent from group classes will be charged as usual)<\/span><\/p>\n      <p>2. \u9664\u7279\u522b\u60c5\u51b5\u5916(\u9700\u63d0\u4ea4\u8bc1\u660e)\u4e00\u5bf9\u4e00\u8bfe\u7a0b\u5b66\u5458\u5982\u9700\u66f4\u6539\u6216\u53d6\u6d88\u8bfe\u7a0b\uff0c\u9700\u81f3\u5c11\u63d0\u524d48\u5c0f\u65f6\u901a\u77e5\uff0c\u5426\u5219\u5c06\u7167\u5e38\u6536\u8d39<span>(Except in special circumstances, if students of one-to-one courses need to change or cancel the course, they must notify at least 48 hours in advance, otherwise they will be charged as usual)<\/span><\/p>\n      <label class=\"nw-acceptance\"><input name=\"acceptance\" type=\"checkbox\" required><span>I have read and agree to abide by the above terms. (\u6211\u5df2\u9605\u8bfb\u5e76\u540c\u610f\u9075\u5b88\u4e0a\u8ff0\u4e8b\u9879)<\/span><\/label>\n    <\/section>\n\n    <p class=\"nw-note\">*\u63d0\u4ea4\u540e\u65e0\u6cd5\u66f4\u6539\uff0c\u63d0\u4ea4\u524d\u8bf7\u786e\u4fdd\u4fe1\u606f\u6b63\u786e\u65e0\u8bef\uff01\uff01\uff01<\/p>\n    <p id=\"nw-registration-message\" class=\"nw-message\" role=\"status\" hidden><\/p>\n    <button class=\"nw-submit\" type=\"submit\">Submit<\/button>\n  <\/form>\n<\/main>\n\n<script>\n(() => {\n  const form = document.getElementById('nw-registration-form');\n  const message = document.getElementById('nw-registration-message');\n  if (!form || !message) return;\n\n  form.addEventListener('submit', async (event) => {\n    event.preventDefault();\n    if (!form.reportValidity()) return;\n\n    const endpoint = form.dataset.endpoint;\n    if (!endpoint) {\n      message.hidden = false;\n      message.dataset.state = 'error';\n      message.textContent = 'Registration service is not configured yet. Please contact New West Education.';\n      return;\n    }\n\n    const button = form.querySelector('button[type=\"submit\"]');\n    button.disabled = true;\n    button.textContent = 'Submitting\u2026';\n\n    const payload = new URLSearchParams(new FormData(form));\n    ['cellphone', 'postcode'].forEach((fieldName) => {\n      const value = payload.get(fieldName);\n      if (value) payload.set(fieldName, \"'\" + value);\n    });\n    payload.append('registration_id', crypto.randomUUID());\n    payload.append('submitted_at', new Date().toISOString());\n    payload.append('source', 'newwest-wordpress-registration-page');\n\n    try {\n      await fetch(endpoint, { method: 'POST', mode: 'no-cors', body: payload });\n      message.hidden = false;\n      message.dataset.state = 'success';\n      message.textContent = 'Registration submitted successfully. \u62a5\u540d\u63d0\u4ea4\u6210\u529f\u3002';\n      form.reset();\n      window.location.assign('https:\/\/newwest-edu.com\/?page_id=508');\n    } catch (error) {\n      message.hidden = false;\n      message.dataset.state = 'error';\n      message.textContent = 'We could not submit the registration. Please try again or contact New West Education.';\n    } finally {\n      button.disabled = false;\n      button.textContent = 'Submit';\n    }\n  });\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Registration as Student (\u5b66\u5458\u62a5\u540d\u8868) *\u8bf7\u4f7f\u7528\u62fc\u97f3\u6216\u82f1\u6587\u586b\u5199\uff01 *\u5b66\u751f1 Last Name (Student) * First Name (Student) * Nickname (Student) Gender (Male \u7537 Female \u5973) * Male Female Birthday (Student) * *\u5b66\u751f2 Last Name (Student2) First Name (Student2) Nickname (Student2) Gender (Male \u7537 Female \u5973) Male Female Birthday (Student2) *\u672a\u6210\u5e74\u5b66\u751f\u5bb6\u957f\u586b\u5199, (\u6210\u4eba\u5b66\u5458, \u4fe1\u606f\u540c\u4e0a\u7684\u65e0\u9700\u586b\u5199) Last Name (Payer) First Name (Payer) Gender [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-524","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/pages\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newwest-edu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=524"}],"version-history":[{"count":4,"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/pages\/524\/revisions"}],"predecessor-version":[{"id":529,"href":"https:\/\/newwest-edu.com\/index.php?rest_route=\/wp\/v2\/pages\/524\/revisions\/529"}],"wp:attachment":[{"href":"https:\/\/newwest-edu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}