This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

New Content Type

How to create a Multiple Choice Question Content Type.

For Ex:

Q1. What is color of Mango?
Option 1: Green
Option 2: Yellow
Option 3: Blue
Option 4: White

Correct Answer is Option 2

Are you trying to create a quiz that responds with the correct answer? There would be several steps involved in that. You could use the apostrophe-forms module to create a form for this, then use the select field type for the question.

To have it respond with the correct answer, you would need to extend or improve apostrophe-forms (see “You’ll need to use the improve option.” on this page for more). Each field widget would need a new field added for the correct answer, then front end code to reveal it on submission.

So this is not a ten minute project, but it would be doable and interesting.