• Resolved mubasher99

    (@mubasher99)


    Hello there..!
    Sorry for taking so long to reply. Actually i was attacked by COVID 19 and now recovered Alhamdulliah.. ??
    Today i have updated the plugin as well as manually updated the quiz and questions following the instructions on the screen.
    Everything is fine. Just having 2 issues with the Result Display:
    1. Result Display is blank and is showing nothing like Correct Answers, InCOrrect Answers Percentage Etc.
    2. The page does not automatically scroll to the top of the page to the results after i click the submit Quiz button
    Here is the link for the test you can check it for Result Display: link for the Test

    PS. Please review the code that you wrote for me. I hve pointed to that code in the “Link to the page you need help with:”

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Ouch! Hope you and your family is safe.

    I think that most of your issues are cache related. Please try clearing your browser cache. I am seeing the results, and the correct/incorrect answers and all of that as normal.

    The issue that I AM seeing is that you are right and the scrolling is not working. The reason that the scrolling is not working is that, as I warned you before, that custom code I gave you for the previous version is no longer valid.

    I recommend removing that custom code from your functions.php file for the time being to restore HD Quiz to its default, and I’ll send you updated code to replace it later today ??

    Plugin Author Harmonic Design

    (@harmonic_design)

    OK, just went through everything and the good news is that it’s a super simple fix!

    All you should have to do is add

    let hdq_score = HDQ.VARS.hdq_score;

    to the Javascript function, preferably just below the let no_answers = 0; line.

    Plugin Author Harmonic Design

    (@harmonic_design)

    Actually, here is a slightly modified version that is a little better than the older one ??

    https://pastebin.com/raw/SRHG053N

    I recommend just replacing the old with this new one.

    Thread Starter mubasher99

    (@mubasher99)

    Thank You very much, it is perfect now.. ??
    You are the Best

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue with the Result Display’ is closed to new replies.