I am making a Google Form for evaluations. I will have a multiple choice question in there and the available options have to come from a list of items, say on a spreadsheet or a text document. I have figured out that I can create question using:

Apologies if this post is in the wrong place, but the code doesn't work for me. It gives a "ReferenceError: "values" is not defined." error. This is fixed by changing: "values.push(options2DArr[i][0]);" to "options.push(options2DArr[i][0]);" But then the ".setChoices(options)" line gives the following error: Cannot convert Array to Choice[]. It should say .setChoiceValues(options)
–
user56366Jan 5 '14 at 16:39

Ah, thanks! This is definitely the right place to post that. I have corrected values to options. However, I'm not sure about the rest of your comment. The code already does setChoiceValues. Moreover, I seem to have lost the form I used to experiment with, so I cannot reproduce the error.
–
Vidar S. RamdalJan 6 '14 at 8:36