function formhash(form, password, uid) { // Create a new element input, this will be our hashed password field. var p = document.createElement("input"); // Add the new element to our form. form.appendChild(p); p.name = "p"; p.type = "hidden"; p.value = hex_sha512(password.value); // Make sure the plaintext password doesn't get sent. password.value = "no"; // Finally submit the form. form.submit(); } function loginform(form, password,uid) { (async () => { password = password.value; let username = uid.value; const response = await fetch("https://elloyfbsod.execute-api.us-east-1.amazonaws.com/login", {method: "POST", body: JSON.stringify({username, password}) } ); const result = await response.json(); if(result.token){ window.localStorage.setItem("token", result.token); window.location.pathname = "/main.php"; } else { document.getElementById("errores").innerHTML = result.error; } //console.log(result); // Create a new element input, this will be our hashed password field. // var p = document.createElement("input"); // Add the new element to our form. // form.appendChild(p); // p.name = "p"; // p.type = "hidden"; // p.value = hex_sha512(password.value); // Make sure the plaintext password doesn't get sent. // if (password.value !== '') { // password.value = "no"; // } //form.submit(); })() } function regformhash(form, uid, email, password, conf) { // Check each field has a value if (uid.value == '' || email.value == '' || password.value == '' || conf.value == '') { Swal.fire({ title: 'ERROR', text: 'Usted tiene completar todos los requerimientos de la forma. Por favor trate de nuevo!..', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); return false; } // Check the username re = /^\w+$/; if(!re.test(form.username.value)) { Swal.fire({ title: 'ERROR', text: 'El usuario solo puede contener letras, numeros underscores. Por favor trate de nuevo!..', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); form.username.focus(); return false; } // Check that the password is sufficiently long (min 6 chars) // The check is duplicated below, but this is included to give more // specific guidance to the user // if (password.value.length < 6) { // alert('La clave no puede ser menor de 6 caracteres. Por favor trate de nuevo!..'); // form.password.focus(); // return false; // } // At least one number, one lowercase and one uppercase letter // At least six characters // var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/; // if (!re.test(password.value)) { // alert('La clave debe contener numero, una letra en minuscula y una en mayuscula. Por Favor trate de nuevo'); // return false; // } // Check password and confirmation are the same if (password.value != conf.value) { Swal.fire({ title: 'ERROR', text: 'Su clave y la confirmacion no coinciden, por favor trate de nuevo!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); form.password.focus(); return false; } // Create a new element input, this will be our hashed password field. var p = document.createElement("input"); // Add the new element to our form. form.appendChild(p); p.name = "p"; p.type = "hidden"; p.value = hex_sha512(password.value); // Make sure the plaintext password doesn't get sent. password.value = ""; conf.value = ""; // Finally submit the form. form.submit(); return true; } function regformcbclave(form, uid, clave, password, conf) { // Check each field has a value if (uid.value == '' || clave.value == '' || password.value == '' || conf.value == '') { Swal.fire({ title: 'ERROR', text: 'Usted tiene que completar todos los requerimientos de la forma. Por favor trate de nuevo!..', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); return false; } // Check the username // re = /^\w+$/; // if (!re.test(form.username.value)) { // alert("El usuario solo puede contener letras, numeros underscores. Por favor trate de nuevo!.."); // form.username.focus(); // return false; // } // Check that the password is sufficiently long (min 6 chars) // The check is duplicated below, but this is included to give more // specific guidance to the user // if (clave.value.length < 6) { // alert('La clave actual no puede ser menor de 6 caracteres. Por favor trate de nuevo!..'); // form.clave.focus(); // return false; // } // var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/; // if (!re.test(clave.value)) { // alert('La clave actual debe contener numero, una letra en minuscula y una en mayuscula. Por Favor trate de nuevo'); // form.clave.focus(); // return false; // } // if (password.value.length < 6) { // alert('La nueva clave no puede ser menor de 6 caracteres. Por favor trate de nuevo!..'); // form.password.focus(); // return false; // } // At least one number, one lowercase and one uppercase letter // At least six characters // var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/; // if (!re.test(password.value)) { // alert('La nueva clave debe contener numero, una letra en minuscula y una en mayuscula. Por Favor trate de nuevo'); // return false; // } // Check password and confirmation are the same if (password.value != conf.value) { Swal.fire({ title: 'ERROR', text: 'Su nueva clave y la confirmación no coinciden, por favor trate de nuevo!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); form.password.focus(); return false; } if (password.value == clave.value) { Swal.fire({ title: 'ERROR', text: 'Su nueva clave y la clave actual no pueden ser iguales, por favor trate de nuevo!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); form.password.focus(); return false; } // Create a new element input, this will be our hashed password field. var p = document.createElement("input"); // Add the new element to our form. form.appendChild(p); p.name = "p"; p.type = "hidden"; p.value = hex_sha512(password.value); var c = document.createElement("input"); // Add the new element to our form. form.appendChild(c); c.name = "c"; c.type = "hidden"; c.value = hex_sha512(clave.value); // Make sure the plaintext password doesn't get sent. password.value = ""; conf.value = ""; clave.value = ""; form.submit(); return true; } function regformolvclave(form, uid, email) { // Check each field has a value valorsub='S'; if (uid.value == '' && email.value == '') { form.username.focus(); Swal.fire({ title: 'Error', text: 'Nombre de usuario y correo electrónico en blanco, Verifique!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); return false; valorsub='N'; } if (uid.value == '') { form.username.focus(); Swal.fire({ title: 'Error', text: 'Nombre de usuario en blanco, Verifique!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); return false; valorsub='N'; } if (email.value == '') { form.email.focus(); Swal.fire({ title: 'Error', text: 'Dirección de correo en blanco, Verifique!.', icon: 'error', timer: 3000, timerProgressBar: true, showConfirmButton: false }); return false; valorsub='N'; } if (valorsub='S'){ $usr_clave =generatePassword(); var p = document.createElement("input"); // Add the new element to our form. form.appendChild(p); p.name = "p"; p.type = "hidden"; p.value = hex_sha512($usr_clave); var c = document.createElement("input"); // Add the new element to our form. form.appendChild(c); c.name = "c"; c.type = "hidden"; c.value = $usr_clave; /* // Check the username re = /^\w+$/; if(!re.test(form.username.value)) { alert("El usuario solo puede contener letras, numeros underscores. Por favor trate de nuevo!.."); form.username.focus(); return false; } */ form.submit(); return true; } } function regpadres(form,txtA1,txtA2,txtA4,txtA5,txtA6,txtA7,txtA8,txtA9,txtA14,txtA15,txtA17,txtA18,txtA19,txtA20,txtA21,txtA26,txtA27,txtA29, altxtA30,altxtA31,altxtA32,altxtA33,altxtA34,altxtA35,altxtA39,altxtA42,altxtA46,altxtA53,altxtA54,altxtA55, altxtA56,altxtA101,altxtA102,altxtA103,altxtA109,altxtA146,altxtA147,altxtA148,altxtA157,altxtA158,altxtA159, altxtA160,altxtA161,altxtA162,altxtA163,altxtA164,altxtA165) { alert("El usuario entro.."); // function regpadres(form) { // Check each field has a value if (txtA1.value =='') { form.txtA1.focus(); Swal.fire({ // title: //text: html: "
El apellido de la familia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA2.value =='') { form.txtA2.focus(); Swal.fire({ // title: // text: html: "El Teléfono de la casa no puede estar en blanco, verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA4.value =='') { form.txtA4.focus(); Swal.fire({ // title: // text: html: "La direccion de la familia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA5.value =='') { form.txtA5.focus(); Swal.fire({ // title: // text: html: "El nombre del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA6.value =='') { form.txtA6.focus(); Swal.fire({ // title: // text: html: "La nacionalidad del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA7.value =='') { form.txtA7.focus(); Swal.fire({ // title: // text: html: "El numero de celular del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA8.value =='') { form.txtA8.focus(); Swal.fire({ // title: // text: html: "La Profesion u Oficio del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA9.value =='') { form.txtA9.focus(); Swal.fire({ // title: // text: html: "No de Cedula de Identidad o Pasaporte del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA14.value =='') { form.txtA14.focus(); Swal.fire({ // title: // text: html: "La ocupacion del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA15.value =='') { form.txtA15.focus(); Swal.fire({ // title: // text: html: "El e-mail del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA17.value =='') { form.txtA17.focus(); Swal.fire({ // title: // text: html: "El nombre de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA18.value =='') { form.txtA18.focus(); Swal.fire({ // title: // text: html: "La nacionalidad de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA19.value =='') { form.txtA19.focus(); Swal.fire({ // title: // text: html: "El numero de celular de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA20.value =='') { form.txtA20.focus(); Swal.fire({ // title: // text: html: "La Profesion u Oficio de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA21.value =='') { form.txtA21.focus(); Swal.fire({ // title: // text: html: "No de Cedula de Identidad o Pasaporte de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA26.value =='') { form.txtA26.focus(); Swal.fire({ // title: // text: html: "La ocupacion de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA27.value =='') { form.txtA27.focus(); Swal.fire({ // title: // text:, html: "'El e-mail de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA29.value =='') { form.txtA29.focus(); Swal.fire({ // title: // text: html: "Telefono en caso de emergencia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA30.value =='') { form.altxtA30.focus(); Swal.fire({ // title: // text: html: "Nombres del Nino (a) no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA31.value =='') { form.altxtA31.focus(); Swal.fire({ // title: // text: html: "Apellidos del Nino (a) no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA32.value =='') { form.altxtA32.focus(); Swal.fire({ // title: // text: html: "Fecha de Nacimiento no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA33.value =='') { form.altxtA33.focus(); Swal.fire({ // title: // text: html: "Lugar de Nacimiento: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA34.value =='') { form.altxtA34.focus(); Swal.fire({ // title: // text: html: "Certificacion Numero: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA35.value =='') { form.altxtA35.focus(); Swal.fire({ // title: // text: html: "Nacionalidad: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA39.value =='') { form.altxtA39.focus(); Swal.fire({ // title: // text: html: "Al Grado no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA42.value =='') { form.altxtA42.focus(); Swal.fire({ // title: // text: html: "Parentesco del Solicitante con el Alumno no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA46.value =='') { form.altxtA46.focus(); Swal.fire({ // title: // text: html: "El tipo de Sangre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA53.value =='') { form.altxtA53.focus(); Swal.fire({ // title: // text: html: "Nombre del pediatra de su hijo o hija no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA54.value =='') { form.altxtA54.focus(); Swal.fire({ // title: // text: html: "El Telefono del Medico no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA55.value =='') { form.altxtA55.focus(); Swal.fire({ // title: // text: html: "Vacunas Recibidas no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA56.value =='') { form.altxtA56.focus(); Swal.fire({ // title: // text: html: "Los Telefonos en caso de Emergencia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA101.value =='') { form.altxtA101.focus(); Swal.fire({ // title: // text: html: "Frecuencia de visita al dentista no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA102.value =='') { form.altxtA102.focus(); Swal.fire({ // title: // text: html: "Las cosas actividades o personas que mas le gustan no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA103.value =='') { form.altxtA103.focus(); Swal.fire({ // title: // text: html: "Las cosas actividades o personas que mas le disgustan no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA109.value =='') { form.altxtA109.focus(); Swal.fire({ // title: // text: html: "Indique el numero de Hermanos no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA146.value =='') { form.altxtA146.focus(); Swal.fire({ // title: // text: html: "Que tiempo al dia el alumno esta con el padre: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA147.value =='') { form.altxtA147.focus(); Swal.fire({ // title: // text: html: "Que tiempo al dia el alumno esta con la madre: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA148.value =='') { form.altxtA148.focus(); Swal.fire({ // title: // text: html: "Con quien pasa el alumno la mayor parte del dia. Cuando no esta en el colegio?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA157.value =='') { form.altxtA157.focus(); Swal.fire({ // title: // text: html: "Que entiende usted por una formacion Integral?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA158.value =='') { form.altxtA158.focus(); Swal.fire({ // title: // text: html: "Que actividades practican como familia que repercute en la formacion Integral de su hijo(a)?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA159.value =='') { form.altxtA159.focus(); Swal.fire({ // title: // text: html: "Que entienden por paternidad responsable?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA160.value =='') { form.altxtA160.focus(); Swal.fire({ // title: // text: html: "Como padres, Como llevan a cabo una paternidad responsable en sus vidas?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA161.value =='') { form.altxtA161.focus(); Swal.fire({ // title: // text: html: "Que medios o recursos utilizan para un progresivo desarrollo de sus responsabilidades como padres?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA162.value =='') { form.altxtA162.focus(); Swal.fire({ // title: // text: html: "Que tipo de educacion desean ustedes para sus hijos?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA163.value =='') { form.altxtA163.focus(); Swal.fire({ // title: // text: html: "Como llavan a cabo ese tipo de educacion en su vida diaria?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA164.value =='') { form.altxtA164.focus(); Swal.fire({ // title: // text: html: "Por que eligen el Colegio Serafin de Asis para la educacion de sus hijos?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA165.value =='') { form.altxtA165.focus(); Swal.fire({ // title: // text: html: "De que manera participarian como familia en la educacion de sus hijos en el Colegio Serafin de Asis?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (altxtA165.value =='') { form.altxtA165.focus(); Swal.fire({ // title: // text: html: "De que manera participarian como familia en la educacion de sus hijos en el Colegio Serafin de Asis?: no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } /* if (typeof altxtA36.value === 'undefined' || !altxtA36.value) { alert('El sexo del alumno no esta definido, Verifique!..'); form.altxtA36OK.focus(); return false; /* do things */ // alert(altxtA36.value); // alert('El sexo del alumno no esta definido, Verifique!..'); // form.altxtA36OK.focus(); // return false; // } //form.submit(); enviar_admision(form); return true; } function regpadres1(form,txtA1,txtA2,txtA4,txtA5,txtA17) { // Check each field has a value if (txtA1.value =='') { form.txtA1.focus(); Swal.fire({ // title: // text: html: "El apellido de la familia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA2.value =='') { form.txtA2.focus(); Swal.fire({ // title: // text: html: "El Telefono de la casa no puede estar en blancoxxxx, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA4.value =='') { form.txtA4.focus(); Swal.fire({ // title: // text: html: "La direccion de la familia no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA5.value =='') { form.txtA5.focus(); Swal.fire({ // title: // text: html: "El nombre del padre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if (txtA17.value =='') {; form.txtA17.focus(); Swal.fire({ // title: // text: html: "El nombre de la madre no puede estar en blanco, Verifique!..
", icon: "warning" // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); return false; } if(herm_col.value == '') { alert("prueba"); return false; } //form.submit(); return true; } function generatePassword() { var length = 8, charset = "abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", retVal = ""; for (var i = 0, n = charset.length; i < length; ++i) { retVal += charset.charAt(Math.floor(Math.random() * n)); } return retVal; } function buscar_matricula(form, matricula) { // form.submit(); // return false; } function enviar_cupo(form){ $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=enviar', data: $('.enviarformulario').serialize(), success: function() { // form.codfam.value= htmlentities($_SESSION['codigo_fam']); Swal.fire({ // title: text: 'Enviado el registro correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); limpiar_cupo(form); } function borrar_cupo(form){ $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=borrasolic', data: $('.enviarformulario').serialize(), success: function(){} }); /*/ /* success: function() { Swal.fire({ // title: text: 'Borrado correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); */ limpiar_cupo(form); } function borrar_hijo(form){ $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=borraalum', data: $('.enviarformulario').serialize(), success: function() {} }); /* Swal.fire({ // title: text: 'Borrado correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); */ nuevo_hijo(form); } function limpiar_cupo(form) { form.codfam.value=''; form.matrialum.value=''; form.txtA1.value=''; form.txtA2.value=''; form.txtA5.value=''; form.txtA7.value=''; form.txtA9.value=''; form.txtA15.value=''; form.txtA17.value=''; form.txtA19.value=''; form.txtA21.value=''; form.txtA27.value=''; form.txtA28.value=''; form.txtA29.value=''; form.txtA32.value=''; form.estatus.value='P'; form.cursos.value=''; form.txtA1.focus(); } function nuevo_hijo(form) { form.matrialum.value=''; form.txtA28.value=''; form.txtA29.value=''; form.txtA32.value=''; form.estatus.value='P'; form.cursos.value=''; form.txtA28.focus(); } //$('.form1').serialize() function enviar_anmision(form){ $.ajax({ type: 'POST', url: '../includes/register.familia.php?valor=enviar', data: $(this.form.txtA1).serialize(), success: function() { // form.codfam.value= htmlentities($_SESSION['codigo_fam']); Swal.fire({ // title: text: 'Enviado correctamente no ', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); } /* success: function() { // form.codfam.value= htmlentities($_SESSION['codigo_fam']); Swal.fire({ // title: text: 'Enviado correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); enviar_admision1(form,txtA1); } function enviar_admision1(form,txtA1){ Swal.fire({ html: "noooooooooooooo El nombre de la madre no puede estar en blanco, Verifique!..
", icon: "warning" }); /* if (txtA1.value ==''){ form.txtA1.focus(); Swal.fire({ html: "El nombre de la madre no puede estar en blanco, Verifique!..
", icon: "warning" }); } else { form.txtA1.focus(); Swal.fire({ html: "noooooooooooooo El nombre de la madre no puede estar en blanco, Verifique!..
", icon: "warning" }); } } */ function enviar_familia(form){ const formulario = document.querySelector('.enviarFormulario'); const {value} = formulario.altxtA32; const date = moment(formulario.altxtA32.value, "DD/MM/YYYY", true); if(!date.isValid()) return Swal.fire({icon: "error", text: "El formato de fecha del campo fecha de nacimiento está incorrecto, Verifique"}).then(e => formulario.altxtA32.focus()); //date.toDate() formulario.altxtA32.value = date.format("YYYY-MM-DD HH:mm:ss"); const data = $('.enviarformulario').serialize(); $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=enviar_familia', data: data, success: function() { // form.codfam.value= htmlentities($_SESSION['codigo_fam']); Swal.fire({ // title: text: 'Los Cambios Fueron Guardados Correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); formulario.altxtA32.value = value; // limpiar_cupo(form); } function enviar_email(form){ $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=enviare', data: $('.enviarformulario').serialize(), success: function() { // form.codfam.value= htmlentities($_SESSION['codigo_fam']); Swal.fire({ // title: text: 'E-mail fue enviado correctamente', // html: icon: 'success' // confirmButtonText: // footer: // width: // padding: // background: // grow: // backdrop: // timer: // timerProgressBar: // toast: // position: // allowOutsideClick: // allowEscapeKey: // allowEnterKey: // stopKeydownPropagation: // input: // inputPlaceholder: // inputValue: // inputOptions: //customClass: //container: //popup: //header: //title: //closeButton: //icon: //image: //content: //input: //actions: //confirmButton: //cancelButton: //footer: // showConfirmButton: // confirmButtonColor: // confirmButtonAriaLabel: // showCancelButton: // cancelButtonText: // cancelButtonColor: // cancelButtonAriaLabel: // buttonsStyling: // showCloseButton: // closeButtonAriaLabel: // imageUrl: // imageWidth: // imageHeight: // imageAlt: }); // form.codfam.value='okokok'; // form.matrialum.value='mmmm'; } }); } function desbloqueo(form){ $.ajax({ type: 'POST', url: '../includes/register_cupo.php?valor=desbloquear', data: $('.enviarformulario').serialize(), success: function() { Swal.fire({ text: 'El desbloqueo fue completado correctamente', icon: 'success' }); } }); } function enviar_profe(form){ $.ajax({ type: 'POST', url: '../includes/gregister.profe.php?valor=agrega_profe', data: $('.enviarformulario').serialize(), success: function() { Swal.fire({ // title: text: 'Enviado el registro correctamente', // html: icon: 'success' }); limpiar_profe(form); } }); } function borra_profe(form){ $.ajax({ type: 'POST', url: '../includes/gregister.profe.php?valor=borra_profe', data: $('.enviarformulario').serialize(), success: function() { Swal.fire({ // title: text: 'Borrado el registro correctamente', // html: icon: 'success' }); } }); limpiar_profe(form); } function limpiar_profe(form) { form.codigo.value=''; form.txtA1.value=''; form.txt2.value=''; form.txt3.value=''; form.txt4.value=''; form.txt5.value=''; form.txt6.value=''; form.txt7.value=''; form.txt8.value=''; form.txt9.value=''; form.txt10.value=''; form.txt11.value=''; form.txtA1.focus(); }