QSM Trivia Adapter Element
Converts a QSM quiz into a format more suited for Convoworks Trivia elements, e.g. trivia round block.
When to use?
If you want to adapt a QSM quiz for use with Convoworks elements.
How to use?
- Before you start:
- Make sure you have a QSM quiz with only horizontal/vertical multiple choice questions.
- For older versions of the QSM plugin where you are able to mark an answer as correct, only mark a single answer as the correct one.
- For newer versions of the QSM plugin, if you can only enter points per answer, make sure only the correct answer is worth points. It can be worth 1 or more points, but all other answers must be worth 0 points.
- A maximum of 28 answers are allowed per question, one for each letter of the English alphabet.
- Once you have a quiz ready, take note of its ID. You can find the ID by checking the shortcode for the quiz.
- Set
QSM Quiz ID to this ID. As a side note, this property is evaluated so you can write an expression here.
- Pick a
Storage Type and Name under which the quiz will be stored.
-
The result is an array of questions, where each question looks like this:
text — The actual text of the question.
answers — An array of answer objects, which look like this:
text — The text of the answer
letter — The letter associated with the answer
is_correct — Boolean; whether the answer is correct or not.
- As a quality-of-life feature, each question has a
correct_answer object that is set to the correct answer. Refer to the layout of answer objects above.