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

169
Vistas
Filling and submitting a google form

I am working on a very simple program that uses JavaScript to fill out and submit a google form. This is what I have so far:

(Test Form I Used: https://forms.gle/4TvkMYXrFWfxX1NZA)

const a = [
    'John',
    'Doe',
    'Blue'
];

var form = document.getElementsByTagName('form')[0];
var elements = form.querySelectorAll('input[type="text"]');

for(i = 0; i < answers.length; i++){
    elements[i].value = answers[1];
}

This seems to fill out the text fields, but when I try to submit it does not recognize that the fields are filled out. Is there a better way to do this?

about 4 years ago · Juan Pablo Isaza
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