I am using the following lines of Apps Script to dynamically generate a Google Forms Quiz
form.setIsQuiz(true);
form.setTitle("New")
.setDescription('Test')
.setConfirmationMessage('Thanks for responding!')
.setAllowResponseEdits(false)
.setAcceptingResponses(true)
.setLimitOneResponsePerUser(true)
.setShuffleQuestions(true)
.setProgressBar(true)
.setCollectEmail(true)
This is creating a form and i am able to send out the quizzes to multiple people. But i also want to "Release Score >> Immediately After Submission". This is a feature in Google Quiz Form. But i am unable to find a method equivalent to the Google Forms feature of "Release Score >> Immediately After Submission".
I cannot do this manually for each form because i generate hundreds of forms distributed to different sets of people.
See Question&Answers more detail:os