• Resolved fimo66

    (@fimo66)


    Hi,

    One stupid question about the “statistics/?view=bonusquestion&question”
    i have set a specific “answer before date” to each og my questions
    and a “Score dato” which is a day after the “answer before date”
    and then after a mach is finished i will go into the admin and tick the field
    “If checked on save the user answers will be checked against the given answer (a text compare is used). Useful for questions of type multiple choice.”
    and then write the correct answer and update and then all is good.

    BUT in the period between the “answer before date” and the “correct answer” after a match – all answers shows a red cross = wrong answer untill i insert the right answer.

    How can i change it, so it dosent show any red cross untill i have inserted the right answer ?

    sorry for this stupid question, i know it worked before but perhaps i changed something somewhere, that is the reason for this…

    Have a nice evening

    View post on imgur.com

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

    (@antoineh)

    You have to empty the “score date”. This is an indicator that the question has an answer and I don’t check the actual date on that page, only if it has a value.

    I will check if I can change this in a future version. I guess it makes sense to only show the stats if the score date is in the past ??

    Thread Starter fimo66

    (@fimo66)

    Thanks for the answer,
    but when i empty = remove every field with data and push the save button, then after i open the same question again, a new date is in the field which is todays date,time

    please see these photos

    View post on imgur.com

    ??

    • This reply was modified 3 years, 6 months ago by fimo66.
    Plugin Author AntoineH

    (@antoineh)

    Looks like you found a display bug in the admin. The score date value is set to null, but one of the checks in the code is wrong which results in pre-filling the field with the current date. But the database should contain the empty value now, meaning that after you save with an empty score date, the statistics page should remove the wrong/correct icons.

    I’ll fix the bug in a next version.

    Thread Starter fimo66

    (@fimo66)

    Hi again,
    Thank you for the answer and glad to see that it wasnt such a stupid question after all ??

    And will look forward to future updates men thanks for the fix now !

    As always – BEST PLUGIN – SUPPORT EVER ??

    • This reply was modified 3 years, 6 months ago by fimo66.
    • This reply was modified 3 years, 6 months ago by fimo66.
    • This reply was modified 3 years, 6 months ago by fimo66.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Showing wrong answers ?’ is closed to new replies.