eZ Community » Forums » Extensions » eZusrvey: how to have one question...
expandshrink

eZusrvey: how to have one question per page

eZusrvey: how to have one question per page

Tuesday 26 August 2008 7:03:34 pm - 1 reply

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

Tuesday 26 August 2008 11: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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from