• Resolved interfool

    (@interfool)


    If you answer a Matrix question incorrectly, AND you have “display incorrect answer” turned on, when you hit check answer, the page immediately displays the correct answer, unlike all other question types, which continue to display the incorrect answer and allow you to correct it.

    I made a demo quiz for you to see the problem. If you answer the first question incorrectly, move to the next one and then go back, you’ll see what I mean. Quiz: http://azs.somenewfrog.com/matrixproblem/

    There are several matrix questions that all work improperly at that test page.

    Thanks,

    Interfool

    http://wordpress.org/plugins/wp-pro-quiz/

Viewing 1 replies (of 1 total)
  • Thread Starter interfool

    (@interfool)

    I fixed this HUGE BUG myself, after hunting thru the code. I modified the wpProQuiz_front.js, commented out some lines and minified it. If anyone else encounters this, contact me for the code. Or see, starting line 489:

    //plugin.methode.resetMatrix($question);

    //$question.find(‘.wpProQuiz_sortStringItem’).each(function() {
    // var x = matrix[$(this).data(‘pos’)];
    // if(x != undefined)
    // x.append(this);
    //}).css({‘box-shadow’: ‘0 0’, ‘cursor’: ‘auto’});

    //$question.find(‘.wpProQuiz_sortStringList, .wpProQuiz_maxtrixSortCriterion’).sortable(“destroy”);

Viewing 1 replies (of 1 total)
  • The topic ‘Matrix question corrects to right answer after hitting check’ is closed to new replies.