Using Google Apps Script to set the correct answer in a Google Forms (that has been defined as a quiz)
问题 I am trying to use Google Apps Script to set the correct answer in a Google Forms (that has been defined as a quiz) The actual Google Form can be defined using code such as var form = FormApp.create('New Form'); var item = form.addCheckboxItem(); item.setTitle('What condiments would you like on your hot dog?'); item.setChoices([ item.createChoice('Ketchup'), item.createChoice('Mustard'), item.createChoice('Relish') ]); (Taken from https://developers.google.com/apps-script/reference/forms/) Is