Forums / Extensions / eZusrvey: how to have one question per page
Gaetano Giunta
Tuesday 26 August 2008 10:03:34 am
What would be the best way to achieve a survey presentation where the questions are given one per page - and the final result calculated only after the last question is answered?
Hits-friendly webmasters would love to have that, but it looks like the current code is not structured for such a case...
Ideas: - add a kind of question_id unordered param to the urls - store previous questions in either session or cookies, or- add hidden input fields for all previous questions to every page where a single question is displayed
Principal Consultant International Business Member of the Community Project Board
Tuesday 26 August 2008 2:54:38 pm
Related to the above request, it would be nice to have a fetch function to get the results of a survey taken from a given user id (for speed it would need an extra index on ezsurveyresult.survey_id + user_id). Plus some hooks to allow a "result calculation and display"...This way it can be used as a general-purpose "test" extension and not only for surveys