AGENDA DE VISITAS

UNIDADE SEDE ASA SUL

SAIS Área Especial 03 Quadra 4 Lote 05

Caixa Postal: 16212

CEP: 70.380-970 ou 70.380-525  Brasília – DF

UNIDADE 2 TAGUATINGA/CEILÂNDIA

*

 
 

 

 

document.addEventListener('DOMContentLoaded', function() { const form = document.querySelector('.elementor-form'); if (form) { form.addEventListener('submit', function() { const protocoloField = form.querySelector('[name="form_fields[protocolo]"]'); const now = new Date(); const protocolo = 'PROTO-' + now.getFullYear() + ('0'+(now.getMonth()+1)).slice(-2) + ('0'+now.getDate()).slice(-2) + '-' + Math.floor(1000 + Math.random() * 9000); if (protocoloField) { protocoloField.value = protocolo; } }); } });