what best method create questionnaire in drupal 7? use multiple choice questions. (+/- 20)
is possible have 1 question per page? how?
is there way give user end-score of questionnaire? how?
you need install field group module , views module.
add content type "test1"
- to test1, add text field, "question1"
- also, add list (text) field, enter
- q1|answer one
- q2|answer two
- repeat more questions
use field group module divide questions pages.
to take test, add test1 "/node/add/test1
".
to create answer sheet, take test , use node id of test next step.
create view, using views. match taken test against node id of answer sheet. can so, including link @ end of test, links "/score/%nid%
", %nid%
being node id of current test1. create page in views, "/score/%
" path. use contextual filter nid path , match against nid of cheat sheet.
you can more advanced using referencing fields, via entity api , entity reference modules.
enjoy!
Comments
Post a Comment