Ticket #87 (closed feature: Fixed - Released)

Opened 16 years ago

Last modified 16 years ago

Need to add survey with ability to use branching feature

Reported by: faisal Owned by: khaled
Priority: major Milestone: Beta 11 Release
Component: default platform (front/back) Version:
Severity: In Spin-Down (Tech) Keywords:
Cc:

Description

Need to be able to make a survey that has branching feature that will take you to normal results page with no scores and all other stuff.

Change History

Changed 16 years ago by khaled

  • severity changed from New / Just Added to Complete - Ready for QA

Created new survey type, Branching Survey (internal name, branch_survey - note that this required increasing the survey_type field of hg_survey table to varchar(20) from varchar(9)). The Branching Survey uses the quiz creation system to build a survey with branching potential. It then uses regular survey results display mode to show results. Notably different, the results page only shows results of questions answered by the user (not the other branch question results).

TEST PLAN:
1. Create a New Survey at http://devwww.healthgurumedia.com/admin/ (Under the Applications->Survey Manager menu).
2. Choose 'Edit Surveys' from the top level tabs.
3. Fill out the fields as normal, BE SURE TO SET THE TYPE TO 'Branching Survey' from the drop down list.
4. From the Edit Surveys Page (the one where all the surveys are listed) find your new survey. It should have type branch_survey. HELPFUL HINT: Take note of the Survey ID here.
5. Click the 'link questions' button for your branching survey. It should take you to the same tool that is used to build quizzes.
6. Build the survey as per how you would build a quiz.
7. Go to any of the http://dev*.healthgurumedia.com/applications/survey/srvyid/<your survey id>.
8. Take the survey, verify that it branches where it should. Verify that the survey shows the proper number of questions.
9. Complete the survey by clicking see survey results button at the end. If need be, log in if you are not already to access the survey results page.
10. Verify that the questions from the branch you answered are shown correctly.

NOTES ON THE BRANCHING SURVEY
Branches in the survey do NOT generate their own unique question in their branch. Like Quizzes, Branching Surveys which use the same questions in different branches are effectively using the SAME question. The repercussion of this is that statistics are based on answers to questions, so when viewing a question answered in a branch, the answers are pooled to the question, NOT the branch.

Changed 16 years ago by khaled

  • owner changed from khaled to brent
  • status changed from new to assigned

Changed 16 years ago by brent

  • owner changed from brent to khaled
  • severity changed from Complete - Ready for QA to Testing Passed

Changed 16 years ago by khaled

  • severity changed from Testing Passed to Awaiting Release

Changed 16 years ago by khaled

  • status changed from assigned to closed
  • resolution set to Fixed - Released
  • severity changed from Awaiting Release to LIVE - Evaluating
Note: See TracTickets for help on using tickets.