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

171
Vistas
Exporting Google Forms Feedback Given to Student

I have given a Google Form as a quiz. Students have taken the quiz. I gave them feedback on the responses. Some were default feedback and some were custom feedback. I now want to create a report per student where they can see all of my feedback in one place.

for (var k = 0; k < items.length; k++) {
  console.log('j is ' + j);
  try{
    
  var rF = items[k].getFeedback().toString;
 console.log('The feedback is '+rF);
  }
  catch(err){var rF =''}
  var rScore = parseInt(items[k].getScore());
  if (rScore > 0) {
    arr.push(parseInt(rScore));
  }

The items[k].getScore() will show the score I gave the student. No problem. BUT the .getFeedback() shows FreebirdFeedback and will not give me the actual string of feedback. With the toString or without it doesn't really matter.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

When I saw the official document of getFeedback(), this method returns Object — a QuizFeedback for the question item. So, when Class QuizFeedback is checked, there are 2 methods of getLinkUrls() and getText(). In your question, I thought that getText might be required to be used. So, how about the following modification?

Modified script:

From:

var rF = items[k].getFeedback().toString;
console.log('The feedback is '+rF);

To:

var rF = items[k].getFeedback().getText();
console.log('The feedback is ' + rF);

References:

  • getFeedback()
  • getText() of Class QuizFeedback
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