Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 89

AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
10/21/15 03:03 PM (9 years ago)

NAD advanced quiz

iOS 9 When setting the advanced quiz to show correct and incorrect answers, a couple of my testers thought it was a bit odd that when you click on the incorrect answer it not only lights up the incorrect answer but also the correct one. Is there a way to make only the incorrect answer light up when you tap on an incorrect answer and not reveal the correct answer at the same time (without turning off show correct answers altogether)?
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
10/21/15 06:29 PM (9 years ago)
Yeah, you just need to tweak you cp settings.
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
10/21/15 07:05 PM (9 years ago)
It's not working for me! I've set the following and what I get is if I tap an incorrect answer it highlights both the incorrect answer and the correct one. What values would need to change to get just the incorrect answer to highlight if I still want correct answers to be highlighted when I tap a correct answer? : "show_correct_answers": "1", "show_incorrect_answers": "1", "delay_between_questions": "0.7", "button_color_correct": "#669900", "button_color_incorrect": "#FF3333",
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
10/22/15 06:14 AM (9 years ago)
So I misunderstood. That behavior isn't built into the plugin.
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
10/22/15 06:44 AM (9 years ago)
Yeh, I was trying to mod the code but got nowhere - there is a lot of it :) Since you can tap a correct answer and it only highlights the correct answer, it seems that the logic is in there somewhere. But couldn't find a way to transfer that logic to the incorrect answer tap. It immediately came up as an issue with people I got to use the plugin screen.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
10/27/15 06:11 PM (9 years ago)
Good point about the size of the code. This plugin needs a re-write (refactoring). I'll take a look at this issue and see what I can come up with.
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
11/01/15 06:59 PM (9 years ago)
Thanks, Nad.
 

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.