Skip to main content

Multiple Choice Survey

A survey component in which the instructor may collect multiple-choice survey data from students in real-time.


  • question | (string|node): string indicating the question to ask the students. Default: ''.
  • allowMultipleAnswers | boolean: controls whether one wishes to allow students to answer the survey multiple times. Default: false.
  • anonymous | boolean: controls whether student answers are anonymized. Default: false.
  • answers | array: array indicating answer choices for the students. Default: [].
  • multipleAnswers | boolean: indicates whether students may select more than one answer. Note that this differs from allowMultipleAnswers in that allow makes students able to submit the question multiple times. Default: false.
  • style | object: CSS inline styles. Default: {}.
  • onSubmit | function: function to be called when an answer is submitted. Default: onSubmit() {}.


Live Editor
ReferenceError: Provider is not defined