I wrote a google spreadsheet script that parses a spreadsheet and creates a form with the data.
Once the form is created, I can manually go to the form settings -> Quizzes and then "make this a quiz". Once I make it a quiz, I can manually assign points and a correct answer to each problem.
Does anyone know a way to script this when creating the form? Specifically, in my google spreadsheet, my script uses FormApp to create the form and add questions. When the script creates the form, I want to add the setting "make this a quiz", and when the script creates each questions, I want to set the answer key and assign point values. I am not sure this ability exist as I could not find it in the FormApp class.
Thank you