-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Answer is highlighted #64
Comments
@fishingman can you confirm that you have the latest version of SlickQuiz? v1.5.20? It would say at the top of the slickquiz.js file. |
I was able to confirm the version of Slickquiz. |
You can move the following lines of code: // Collect the answers submitted
var selectedAnswers = [];
answerSelects.each( function() {
var id = $(this).attr('id');
selectedAnswers.push(parseInt(id.replace(/(.*\_question\d{1,}_)/, ''), 10));
});
if (plugin.config.preventUnanswered && selectedAnswers.length === 0) {
alert(plugin.config.preventUnansweredText);
return false;
} after this (around line 429):
This one, first check if the option is check and if it passes then it collects the true answers. |
In slickquiz.js,
preventUnanswered: true,
tryAgainText: 'tryagain',
perQuestionResponseMessaging: true,
Is set as, after finished answer the quiz, and are solved again quiz, if nothing was answer without selecting a choice, will somehow correct answer is highlighted.
We appreciate your prompt attention to this matter.
The text was updated successfully, but these errors were encountered: