How do you make a quiz in one screen?

The project here might be what you want to do. CheckBox - 2 answers out of three - #3 by Joerg_Kowalski
There is an aia.It looks like it is all in one screen. You have to try the aia.

(sorry for my english, i use google translate) i have four categories, each category have four option but one is correct, there are aia for help me?

Here is a video; you might like this different solution https://www.youtube.com/watch?v=MwhuUw1N_3M
simplecheckboxquiztemplate

Here is a video; you might like this different solution https://www.youtube.com/watch?v=MwhuUw1N_3M
simplecheckboxquiztemplate

I have read this "after one of the latest updates you now also can define this directly in the definition of the list"; you can do me an example because i didn't understand

This may also help you to know what checkbox checked,

thanks you so much

sorry but I can't create it with this you showed me.
my quiz:
Screen2
Question1
CheckboxA
CheckboxB
CheckboxC(correct answer)
CheckboxD
click C activated "next"
Question2 in the same screen

Could you please share your blocks structures, so that it can be corrected where it is to be.

this is aia file blocks of my quizz
AnimeQuiz.aia (478.4 KB)

image

Not any button, use anyCheckbox.changed event instead. It will work this way,

If you want checkbox to work as radio button you can achive by allowing olny one checkbox to be checked, as

i don't understand

Checked boxes are for MSQs type questions and radio buttons are for MCQs type questions, as you want to activate NEXT button to be activated on a checkbox get selected, then I suggested to use checkbox to behave like radio button. That's what you need to work around.


how to found "call wrongAnswer"

hi, please help me for create checkbox quiz
esample of my quiz
Screen1
Start(open Screen2)
In screen2 there are four categories
Category1
Category2
Category3
Category4
Category1 open screen3, but after how do I make sure there is the second question

This example does not answer your exact question but the code might give you some ideas for a checkbox based quiz.

quiz2

MyQuiz2.aia (7.2 KB)
quizQuestions2.txt (276 Bytes)

1 Like

how to active "next question" when i click correct answer

I don't want to use a question and answer file

Then don't. Hard code the questions and answers. What you do is up to you. The code snippets provided work with a question csv file which indicates the 'answer' as an item number. The csv could be (awkwardly) included in the code Blocks without using the File component.

Because a vertical layout is used, this model can be replicated for as many 'categories' (whatever that means) and shown/hidden by using additional vertical layouts (one for each category perhaps.

What do you want to do and why can't you use the example as it is? I and others would like to help but it appears impossible.