Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

167
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda