Skip to main content
4 events
when toggle format what by license comment
Jan 6, 2014 at 8:36 comment added Vidar S. Ramdal 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.
Jan 6, 2014 at 8:35 history edited Vidar S. Ramdal CC BY-SA 3.0
Corrected code
Jan 5, 2014 at 16:39 comment added user56366 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)
Dec 19, 2013 at 21:34 history answered Vidar S. Ramdal CC BY-SA 3.0