Closed (fixed)
Project:
Quiz
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2009 at 14:57 UTC
Updated:
11 Dec 2016 at 10:13 UTC
Jump to comment: Most recent
Comments
Comment #1
sivaji_ganesh_jojodae commentedUse webform module. Redirect the users to quiz takeup page once they fill and submit the form fields.
Comment #2
yngvewb commentedI guess you are referring to the "Assign Action" in the quiz form - and "redirect to URL" action. It does work, but I need to to collect just mails from the "winners". With this method everyone gets redirected to the webform and can submit their mail.
Are there some way to redirect to different URLs based on result?
Comment #3
sivaji_ganesh_jojodae commentedI am sorry i misunderstood your question when i was replying in #1. I thought you want to get the e-mail address of all users at the beginning of the quiz.
For #2 refer
quiz_end_actionshook in quiz.module which get triggered at the end of quiz. Here you can add IF check anddrupal_gotofunction which can redirects the user to feedback page.Comment #5
rocbrook commented#2 solution is great but the webform could potentially come up in search results, this presents an issue as how do we know the person sending their info really did complete the quiz?
Comment #6
markpape commentedIf you ended here and you are using Drupal 7, go to Rules http://www.yourwebsite.com/admin/config/workflow/rules, and set the rule that the Quiz module has made available already to active under the settings, the rule is called "Send quiz results at the end of a quiz". I couldn't find the ability to do this anywhere within the Quiz config itself. Tested and its working. Be sure that the Rules Module UI is enabled to allow you to make the edits.