Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

201
Views
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 answers
Answer question

0

Can you try by replacing this code

document.getElementById("button")

with

document.getElementById("ID of button")
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!