Multiple Choice Survey

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

Example:

<MultipleChoiceSurvey
    anonymous
    question="Are you left- or right-handed"
    answers={[ 'Left-handed', 'Right-handed' ]}/>
/>

Open interactive preview

Options:

  • id | string (required): component identifier. Default: none.
  • allowMultipleAnswers | boolean: contols whether one wishes to allow students to answer the survey multiple times. Default: false.
  • anonymous | boolean: contols 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.
  • title | string: panel title. Default: 'Survey'.
  • onSubmit | function: function to be called when an answer is submitted. Default: onSubmit() {}.
  • question | string: string indicating the question to ask the students. Default: ''.

results matching ""

    No results matching ""