[resolved] Matrix question corrects to right answer after hitting check (2 posts)

  1. interfool
    Posted 2 years ago #

    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.




  2. interfool
    Posted 2 years ago #

    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:


    //$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");

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wp-Pro-Quiz
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic