Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

202
Visualizações
WEBFLOW / How to capture a value from a input that is inside a form in the webflow CMS

so i have this form on a webflow page that have a name, email and phone input fields. im trying to capture what the user write in these inputs fields and register them into variables in the java script custom code when the user click on the submit button. here's what i'm trying to do:

(function () {
document.getElementById("button").onclick = function () {
var name = document.getElementById("name").value;
var email = document.getElementById("email").value;
var telefone = document.getElementById("Telefone").value;
console.log(name);
console.log(email);
console.log(telefone);
};
})();

this code don't give me any of the information i tried to find on the console.log.

can you guys help me capture these variables?

thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Can you try by replacing this code

document.getElementById("button")

with

document.getElementById("ID of button")
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda