Ficou com alguma dúvida?
Entre em contato:

Preencha o formulário ou fale diretamente pelos nossos canais de atendimento.

Ilumine suas ideias conosco. Envie sua mensagem e retornaremos o mais breve possível para entender seu projeto e oferecer a melhor solução.

document.addEventListener("DOMContentLoaded", function() { const input = document.querySelector("#form-field-field_ac101bc"); input.addEventListener("input", function(e) { let value = e.target.value.replace(/\D/g, "").slice(0, 11); let formatted = ""; if (value.length > 0) { formatted = `(${value.slice(0, 2)}`; } if (value.length >= 3) { formatted += `) ${value.slice(2, 7)}`; } if (value.length >= 8) { formatted += `-${value.slice(7, 11)}`; } e.target.value = formatted; }); });