Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
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 Respuestas
Responde la pregunta

0

Can you try by replacing this code

document.getElementById("button")

with

document.getElementById("ID of button")
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda