VerificaciĆ³n de Documentos
Verificar Identificador
Ingresa tu CURP/DNI/ID
VerificarVerificando…[tcb-script] // FunciĆ³n para obtener el valor del parĆ”metro “id” en la URL function obtenerParametroId() { const urlParams = new URLSearchParams(window.location.search); return urlParams.get(‘id’); } function verificarIdentificador() { // Mostrar el indicador de carga document.getElementById(‘loading’).style.display = ‘block’; var identificador = document.getElementById(‘identificadorInput’).value || obtenerParametroId(); var url = ‘https://script.google.com/macros/s/AKfycby-qYWlD7KNIRZfddQzf1Bu1XPW8XAmk7Zm-w_EjUqiwiJvDvxlFiNyhDkV_Xo75jpqTQ/exec?identificador=’ + encodeURIComponent(identificador); fetch(url) .then(response => response.json()) .then(data => { // Ocultar el indicador de carga una vez que los datos estĆ”n listos document.getElementById(‘loading’).style.display = ‘none’; var resultadoDiv = document.getElementById(‘resultado’); if (data.length > 0) { var mensaje = `Damos fe de la autenticidad y legalidad de los documentos emitidos por <strong>${data[0].nombre}</strong>, con identificaciĆ³n <strong>${identificador}</strong> en nuestra instituciĆ³n.<br><br>A continuaciĆ³n se listamos los que fueron firmados y entregados:<br><br>`; var tabla = ‘<table><tr><th>Documento</th><th>Folio</th><th>Tipo</th><th>Descargar</th></tr>’; data.forEach(function(curso) { tabla += ‘<tr><td>’ + curso.curso + ‘</td><td>’ + curso.creditos + ‘</td><td>’ + curso.tipo + ‘</td><td><a href=”‘ + curso.enlace + ‘” target=”_blank”>Descargar</a></td></tr>’; }); tabla += ‘</table>’; resultadoDiv.innerHTML = mensaje + tabla; } else { resultadoDiv.innerHTML = ‘No se encontraron certificaciones.’; } }) .catch(error => { console.error(‘Error:’, error); // Asegurarse de ocultar el indicador de carga incluso si hay un error document.getElementById(‘loading’).style.display = ‘none’; }); } // Rellenar el campo de entrada automĆ”ticamente si hay un parĆ”metro “id” en la URL document.addEventListener(‘DOMContentLoaded’, (event) => { var id = obtenerParametroId(); if (id) { document.getElementById(‘identificadorInput’).value = id; } });[/tcb-script]
Registros Actualizados a Febrero 2024
Customers served!100Validaciones por Empresas
En UDEL, garantizamos la excelencia y el rigor en todos nuestros cursos y certificaciones, asegurando una educaciĆ³n de primera que abre puertas al futuro.
Carmen Cabrera
Directora de Posgrados