{"id":1647,"date":"2026-09-23T21:06:20","date_gmt":"2026-09-23T21:06:20","guid":{"rendered":"https:\/\/accf.unitru.edu.pe\/?p=1647"},"modified":"2026-09-23T21:39:20","modified_gmt":"2026-09-23T21:39:20","slug":"curso-de-capacitacion-2026","status":"publish","type":"post","link":"https:\/\/accf.unitru.edu.pe\/index.php\/eventos-academicos\/curso-de-capacitacion-2026","title":{"rendered":"CURSO DE CAPACITACI\u00d3N-2026"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>INTRODUCCI\u00d3N AL C\u00c1LCULO FRACCIONARIO<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MI\u00c9RCOLES M102<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HORARIO: 11:00-13:00<\/p>\n\n\n\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>Formulario de registro<\/title>\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Figtree:wght@400;600;700&amp;display=swap\" rel=\"stylesheet\">\n<style>\n  :root{--bg:#e9eef4;--card:#fff;--ink:#14213d;--muted:#5b6b82;--line:#c9d3e0;--accent:#1f5fbf;--ok:#1b7f4b;--err:#b3261e}\n  *{box-sizing:border-box}\n  body{margin:0;min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg);color:var(--ink);font-family:Figtree,system-ui,-apple-system,\"Segoe UI\",sans-serif}\n  form{width:100%;max-width:560px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:32px 28px}\n  h1{margin:0 0 4px;font-size:1.6rem;letter-spacing:-.01em}\n  p.sub{margin:0 0 24px;color:var(--muted)}\n  .grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}\n  .full{grid-column:1\/-1}\n  label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px}\n  input{width:100%;padding:11px 12px;font:inherit;color:inherit;border:1.5px solid var(--line);border-radius:8px;background:#fff}\n  input:focus-visible,button:focus-visible{outline:3px solid #9cc0f5;outline-offset:1px;border-color:var(--accent)}\n  input:user-invalid{border-color:var(--err)}\n  small{display:block;margin-top:4px;color:var(--muted);font-size:.8rem}\n  button{margin-top:24px;width:100%;padding:13px;font:inherit;font-weight:700;color:#fff;background:var(--accent);border:0;border-radius:8px;cursor:pointer}\n  button:disabled{opacity:.6;cursor:wait}\n  #msg{margin-top:14px;min-height:1.4em;font-weight:600}\n  #msg.ok{color:var(--ok)} #msg.err{color:var(--err)}\n  @media(max-width:520px){.grid{grid-template-columns:1fr}form{padding:24px 18px}}\n<\/style>\n\n\n<form id=\"f\" novalidate=\"\">\n  <h1>Formulario de registro<\/h1>\n  <p class=\"sub\">Completa tus datos. Todos los campos son obligatorios.<\/p>\n  <div class=\"grid\">\n    <div>\n      <label for=\"paterno\">Apellido paterno<\/label>\n      <input id=\"paterno\" name=\"paterno\" autocomplete=\"family-name\" required=\"\">\n    <\/div>\n    <div>\n      <label for=\"materno\">Apellido materno<\/label>\n      <input id=\"materno\" name=\"materno\" required=\"\">\n    <\/div>\n    <div class=\"full\">\n      <label for=\"nombres\">Nombres<\/label>\n      <input id=\"nombres\" name=\"nombres\" autocomplete=\"given-name\" required=\"\">\n    <\/div>\n    <div>\n      <label for=\"dni\">DNI<\/label>\n      <input id=\"dni\" name=\"dni\" inputmode=\"numeric\" maxlength=\"8\" pattern=\"\\d{8}\" required=\"\">\n      <small>8 d\u00edgitos<\/small>\n    <\/div>\n    <div>\n      <label for=\"celular\">N\u00famero de celular<\/label>\n      <input id=\"celular\" name=\"celular\" type=\"tel\" inputmode=\"numeric\" maxlength=\"9\" pattern=\"9\\d{8}\" autocomplete=\"tel-national\" required=\"\">\n      <small>9 d\u00edgitos, empieza con 9<\/small>\n    <\/div>\n    <div class=\"full\">\n      <label for=\"email\">Email<\/label>\n      <input id=\"email\" name=\"email\" type=\"email\" autocomplete=\"email\" required=\"\">\n    <\/div>\n  <\/div>\n  <button id=\"btn\" type=\"submit\">Guardar registro<\/button>\n  <div id=\"msg\" role=\"status\" aria-live=\"polite\"><\/div>\n<\/form>\n\n<script>\n  \/\/ Pega aqu\u00ed la URL de la aplicaci\u00f3n web de Google Apps Script (termina en \/exec)\n  const URL_SCRIPT = \"https:\/\/script.google.com\/macros\/s\/AKfycbyqzkMhoyfJRzXNDpWs_1QKtdR1WUvwoAZhxdBiJNePQUsHnmGH02xdDYjJ2g-I3WduFg\/exec\";\n\n  const f = document.getElementById(\"f\"), msg = document.getElementById(\"msg\"), btn = document.getElementById(\"btn\");\n  const show = (t, c) => { msg.textContent = t; msg.className = c || \"\"; };\n\n  \/\/ Solo d\u00edgitos en DNI y celular\n  [\"dni\", \"celular\"].forEach(id =>\n    document.getElementById(id).addEventListener(\"input\", e => e.target.value = e.target.value.replace(\/\\D\/g, \"\")));\n\n  f.addEventListener(\"submit\", async e => {\n    e.preventDefault();\n    if (!f.checkValidity()) { f.reportValidity(); show(\"Revisa los campos marcados.\", \"err\"); return; }\n    if (URL_SCRIPT.startsWith(\"PEGA_AQUI\")) { show(\"Falta configurar la URL de Google Apps Script en el c\u00f3digo.\", \"err\"); return; }\n\n    const data = new URLSearchParams();\n    [\"paterno\", \"materno\", \"nombres\"].forEach(k => data.append(k, f[k].value.trim().toUpperCase()));\n    [\"dni\", \"celular\"].forEach(k => data.append(k, f[k].value.trim()));\n    data.append(\"email\", f.email.value.trim().toLowerCase());\n\n    btn.disabled = true; show(\"Guardando\u2026\");\n    try {\n      await fetch(URL_SCRIPT, { method: \"POST\", mode: \"no-cors\", body: data });\n      show(\"Registro guardado correctamente.\", \"ok\");\n      f.reset();\n    } catch (err) {\n      show(\"No se pudo guardar. Revisa tu conexi\u00f3n e int\u00e9ntalo de nuevo.\", \"err\");\n    } finally { btn.disabled = false; }\n  });\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>INTRODUCCI\u00d3N AL C\u00c1LCULO FRACCIONARIO MI\u00c9RCOLES M102 HORARIO: 11:00-13:00 Formulario de<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,8],"tags":[],"class_list":["post-1647","post","type-post","status-publish","format-standard","hentry","category-11-academic-events","category-eventos-academicos"],"_links":{"self":[{"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/posts\/1647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/comments?post=1647"}],"version-history":[{"count":4,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/posts\/1647\/revisions"}],"predecessor-version":[{"id":1653,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/posts\/1647\/revisions\/1653"}],"wp:attachment":[{"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/media?parent=1647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/categories?post=1647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accf.unitru.edu.pe\/index.php\/wp-json\/wp\/v2\/tags?post=1647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}