Discussion Forums  >  Uncategorized

Replies: 3    Views: 276

Tango
Lost but trying
Profile
Posts: 25
Reg: Aug 03, 2011
Peterborough
250
08/29/11 12:17 AM (14 years ago)

Quiz End

Hi guys, Is there a way to make the quiz end at the first wrong answer rather then go onto another question? Thanks Gary
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
08/29/11 11:25 PM (14 years ago)
That ability isn't a built in option for the buzztouch control panel. You would have to dig into the source and modify the code manually.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/30/11 12:48 AM (14 years ago)
It's not a big deal to find the methods that run when a question is answered. Also, there is a method that fires when the quiz ends. a) Find the method that fires when a question is answered (name depends on android/ios/verison/etc). Probaly: answerClick() b) Find where the answerClick() method determines if correct or incorrect... c) If incorrect, fire the quizEnded() method
 
Tango
Lost but trying
Profile
Posts: 25
Reg: Aug 03, 2011
Peterborough
250
like
09/01/11 03:44 PM (14 years ago)
Brilliant thanks so much :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.