Check out the LimeSurvey source code on GitHub!

Change Format based on user device

More
4 years 2 weeks ago #92126 by cberghoff
I'm looking for a way to change the question presentation format based on the type of device the respondent is using. I already have a session variable that indicates handheld or desktop. I'd like to make a survey display group by group if the session variable indicates desktop, etc., and have a question by question presentation if the session variable indicates a smartphone, etc.

Is anyone doing something similar, or have any suggestions?

Thanks,
Chris

Please Log in to join the conversation.

More
4 years 2 weeks ago - 4 years 2 weeks ago #92182 by Ben_V
Hi,
it seems to me a bit difficult to implement this in a same survey... :(

A solution could be to set 2 surveys, 100% similars (questions, answers, conditions etc.) with setting:
- survey #1 group by group (standard devices)
- survey #2 question by question (small devices)

This made, you can for example use the survey description area to place some javascript code to redirect the user or not to the other survey (js based on user-agent, screen-size, custom variable etc.) .

For results analysis, just merge all responses using VV files import/export facilities.

BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 4 years 2 weeks ago by Ben_V.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form