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

262
Views
Inserte un campo oculto en el formulario usando JS

Estoy tratando de crear y completar un campo oculto en el formulario usando el administrador de etiquetas de Google y JS.

Funcionó bien en un grupo de formularios ingrese la descripción de la imagen aquí

Sin embargo, no funciona en este. ingrese la descripción de la imagen aquí

¿Qué debo modificar para insertar el campo oculto en el segundo formulario (además de la parte obvia "agregar al elemento"? ¡Gracias!

Aquí está el guión:

 var input = document.createElement("input"); input.setAttribute("type", "hidden"); input.setAttribute("name", "GAIDinserttest"); input.setAttribute("value", "{{extract GAID-GA Client ID}}"); //append to form element . document.getElementById("gform_page_2_1").appendChild(input); </script>
about 4 years ago · Juan Pablo Isaza
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!