Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Dynamic quantity of question (groups) based on response to a single question

Dynamic quantity of question (groups) based on response to a single question 1 Jahr 7 Monate her #89346

Believe me, I checked the forums for a similar question to this but found nothing - so either it can't be done, I'm searching for the wrong thing or it's totally new !

What I'm trying to do is this (I'm a first time Lime Survey user - but I am a database developer)..

I want to replicate the concepts of a master-detail module in a questionnaire.. e.g.

How many devices do you own ? [ ]
  • If the user enters 3 then I want to display three repeating groups of questions, (device type, serial num, vendor etc)

  • If the user enters 10 then I want to display ten repeating groups of questions

  • If the user enters 0 then I want to skip that group

Hope that makes sense..

Is that possible or shall I just stick with building a custom webapp ?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Dynamic quantity of question (groups) based on response to a single question 1 Jahr 7 Monate her #89355

  • tpartner
  • tpartners Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 4050
  • Dank erhalten: 739
  • Karma: 341
Well, there is no looping in LimeSurvey so you will need to create the maximum possible number of groups before activation.

Groups can then be hidden/shown with conditions or relevance depending on the answer to "How many devices do you own ?".
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.167 Sekunden
Donation Image