HD Quiz

30% Yes 70% No

Published: January 7, 2025
Support status: closed

We only have yes/no questions. As now, the results should not show that ALL questions have been answered, but that if 30% of the questions have been answered with yes, a certain result should be displayed and if 50% have answered this and 70%+ something else. Does this work with your plugin? How do I do that?

Thanks!

thread author: Mark

Hi Mark,
I think what you are asking for is the ability to have more than a pass/fail state – to have multiple outcomes. If so, this is not something that is possible out-of-the-box with HD Quiz.

HOWEVER, HD Quiz is VERY extendable, and if you are a developer, or are willing to hire one, it would be fairly easy to accomplish what you are looking for.

Whenever a quiz completes, the “score” is stored in a variable under HDQ.VARS. HD Quiz also has a hook called hdq_submit that you can use to run a custom function once a quiz has completed. You can use these two things to modify the results text as needed to set whatever custom or dynamic content you need.

08 January 2025 — 15:31 support admin - Dylan

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
.

You can also upload images to imgur and paste the links here. Just make sure that your images don't include any sensitive information.

Submit