Hi,
I originally e-mailed this to Matt; however, I don't want to bombard him with requests that I'm sure many of you know the solution to already.

My original e-mail contained the following requests/support:

1) Is it possible to create a question with multiple answers and each answer having a different weight/score attached to it? For example, if a user takes the questionnaire/quiz and there are 4-5 answers which all being CORRECT, but some MORE CORRECT than the others, can different scores be added to the answers? (Option 1 = 5 points, Option 2 = 4 points, etc.); that way, the total score at the end of the questionnaire/quiz will be calculated based on the different answers within the question itself?

2) As each question creates a separate node/URL, is there a way to block the user from going directly to the node/URL and redirecting them back to a certain page if they do (I imagine that checking the referring page would be the solution)?

3) Can the questionnaire/quiz be made to open in a new window/popup with smaller dimension and not show the menu bars, etc.?

Thanks,

Giarnz

Comments

mbutcher’s picture

Giarnz,

Thanks for posting that here.

#1: Currently, this is not supported. I don't have it on the roadmap for 3.0, either... though if anyone wants to contribute a patch to the multichoice module, that'd be welcome. (The long-answer question format will also need this feature, so if anyone is interested, let's discuss here.)

#2: The quiz itself always displays just one URL (or a URL with random stuff appended to prevent caching). Individual questions are "proxied" through the quiz node's view, so the user can't really navigate from question node to question node *within a quiz*. Did I answer your question, or misunderstand it?

#3: This would be a theming issue. Using the theme system (and probably a view), you could write a theme for a popup window, and then set things up links so that the quiz would using that theme (in a new window).

Matt

giarnz’s picture

Hi Matt,
Thanks for the quick and detailed reply.

Giarnz

mbutcher’s picture

Status: Active » Closed (fixed)
giarnz’s picture

Hi Matt,
If possible, can you please tell me how much it would cost and how long it would take for you to add the option to "weight" questions? I want to use the Quiz module as a product selection tool and by weighting questions I can present different products based on the final score/weight?

Thanks,

Giarnz

giarnz’s picture

Status: Closed (fixed) » Active
mbutcher’s picture

The second first item on this list -- weighting questions -- has come up here: #341512: Overview of question types.

I have made some progress in rewriting the scoring mechanism to support this. However, multichoice doesn't yet take advantage of the new scoring mechanism.

ezraw’s picture

Component: Code - Quiz module » Code - Import/Export
Issue summary: View changes
Status: Active » Closed (fixed)