Quiz with Multiple selection questions and correct answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2022 10:09 AM
Hello,
We want to configure quizzes to test the knowledge of our employees, and we need to use two types of questions:
- Scale - where you should choose only one correct answer;
- Multiple selection - where you should choose more than one correct answer.
Everything is just fine with Scale type, where you can specify choices and correct answers, but we don't know how to do it with Multiple selection.
You can see how it looks on the following attachments for the Scale type. We need to do the same for Multiple selection type of questions. Is there any way to make it work?
- Labels:
-
Survey Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2022 08:46 AM
Hi,
My first question is how you are achieving this?
portal ,ui builder? catalog item?
When i created my quiz i used multiple checkbox for choices.
When submitting, the answers were matched against the quiz_answer table.
Table columns:-
question id ,question text, multiple(yes/no), answer(textarea)
if multiple == yes
match the answers against the options.
here you can try javascript includes() or indexOf method to check for that every particular answer against the text area.
This method i tried. you can find your own way if you want.
Anshu