Working on a simple true or false quiz app. Having trouble getting it to properly calculate the pass or fail. Right now it’s passing the user regardless of if they actually pass or fail.
Fields:
Question (text)
Answer (text)
Question number (number)
Question list (list of quizs)
There are 15 questions and 10 or more correct is passing. I’m using a custom state to pass the score along from question to question. The custom state is set to “0” on page load and then “1” is added to the “score” custom state every time a correct answer is chosen.
I think the problem lies with the following two circled workflows…
If anyone can let me know what I should be doing here to get it to calculate the score properly, it’d be most appreciated. My guess is that it’s something simple that I’m missing.
You forgot to set the condition for the button false and true. The buttons are checking if the answer is right or wrong so you have to reference the element the question is in.
The element the question is in is the “Text Current cell’s text” text box. How would I go about referencing that by setting conditions on the True/False buttons?
@rucelvirata messaged me to let me know that the sample quiz app was no longer working so I’ve recreated it in the public forum app for anyone who may need to refer to it.