Multiple correct answers and quiz logic | Community
Skip to main content
Answered

Multiple correct answers and quiz logic


Hi, 

 

We have a test with 10 questions (which we built with Typeform’s quiz logic). If responders get all 10 questions right, they get an ending screen that says “Success”. If a responder gets any question wrong, they get the ending screen that asks them to take the test again.

If you have a question in that test with multiple answers (let’s say 4 out of 8), how do you set the quiz logic so that the responder has to select all of the correct answers in order to pass the test? At the moment, I think when I set the 4 correct answers, you can pass the quiz with any of the correct answers (but not all of them).

Any help much appreciated.

Cheers

Best answer by john.desborough

@limber  - just a thought .. create a variable called success as a text variable and set to ‘no’ as default

if the user gets the 4 mc answers correct use a logic rule that says 

  • if answer is A and answer is C and answer is D and answer is G then replace success with yes

then when you are looking at the final pass/fail ie you would look at all the other 9 questions being correct AND the success variable = yes to mean that someone fails. if success is still at no, then they did not pass the test.. 

would that work??

 

des

View original

5 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14905 replies
  • May 31, 2022

Hi @limber Happy Tuesday! Do you mind sending us screenshots of what you already have set up for logic? We can then take a look at that and make suggestions accordingly!


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5272 replies
  • Answer
  • May 31, 2022

@limber  - just a thought .. create a variable called success as a text variable and set to ‘no’ as default

if the user gets the 4 mc answers correct use a logic rule that says 

  • if answer is A and answer is C and answer is D and answer is G then replace success with yes

then when you are looking at the final pass/fail ie you would look at all the other 9 questions being correct AND the success variable = yes to mean that someone fails. if success is still at no, then they did not pass the test.. 

would that work??

 

des


  • Author
  • Explorer
  • 1 reply
  • June 7, 2022

Thanks so much for your help. I think here’s where we’ve landed (although I think I agree with @john.desborough too). We can move to a score based quiz and assign points for correct answers. We can (I think) add 1 point for each question (and you need all 4 answers to get the point). Any other answers won’t get the point and you don’t meet the success threshold.

 

Assuming that’s right was a stupid question to have asked really!


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5272 replies
  • June 7, 2022

@limber - no such thing as a stupid question here … honestly.. 

(ok, maybe if someone asks me if i think i have had enough coffee… lol)

 

cheers

 

des


Gabi Amaral
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • 1777 replies
  • June 8, 2022

Exactly, @limber. There's no such thing as a stupid question. By the way, don't forget to send us your quiz once it's ready to go. We'd love to take a look at it and give you some feedback! 😉


Reply