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

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

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 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!