Duplicate correct answer displayed twice for text based questions after an incorrect submission

closed

I am having an issue with a text based question in HD Quiz. When a user enters an incorrect answer and submits the quiz, the correct answer is displayed twice in two separate green boxes.

I checked the question settings and confirmed that only one correct answer is entered. The additional answer fields are empty, the extra content section is empty, and the option to show correct answers on completion is turned off. The issue is still happening.

We are currently using:

 

HD Quiz version 2.2.2
HD Quiz Quiz Styler version 1.4.1
HD Quiz Save Results Pro version 1.9.2

July 14, 2026 at 1:41pmVamshi

Hi Vamshi, this is a weird one. Can you provide a link to a quiz? I’ll take a look and figure out what’s going on

15 July 2026 — 11:58support admin Dylan

Thank you for your quick response! I’m away from home today, but I’ll get back to you either tonight or tomorrow morning 

15 July 2026 — 12:15support admin Dylan

OK, good news! I found the issue and fixed.

What happened is that the latest version of The SRP Addon does extra stuff to get better results when Secure Mode is enabled. The problem is specifically with the Text Based Answers question type as marking that adds an extra section to show what the correct answer is. Since marking happens in two passes now, it would duplicate that section.

What I did was update HD Quiz itself and check to see for those question types if the marking section already exists before adding it again. This solved the issue.

The problem is that I don’t want to bump the version number of HD Quiz just for this, so you will need to reinstall the plugin by going to the HD Quiz page, selecting Download, and then installing that plugin that way (remember to clear your site/browser caches!)

https://wordpress.org/plugins/hd-quiz/

16 July 2026 — 13:09support admin Dylan

Hi,
Thank you for looking into this and for the detailed explanation. I really appreciate you identifying the root cause and providing a fix.
I reinstalled the latest HD Quiz plugin, cleared the site and browser caches as recommended, and can confirm that the issue is now fixed.
Thanks again for your quick support!

Respond to thread

This thread has been closed / marked as resolved.
You can reply to this thread, but it might be better to start a new thread if you need help
.

Submit