Nested questionnaires

Mehr
2 Monate 1 Woche her #183201 von cmhhansen
Nested questionnaires wurde erstellt von cmhhansen
Is it possible to have nested questionnaires? For example, running a household survey I might have a single household questionnaire which lists all individuals found, among other things. Then, a personal form would be created for each eligible individual enumerated in the dwelling form, with some information provided in the dwelling form pre-entered... or at least not re-asked if already present in the dwelling form.

I'm not entirely convinced this is a good way to run a collection, but we do this with our existing tool, so any alternative we consider might need to have this functionality.


Cheers

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
2 Monate 1 Woche her #183202 von Joffm
Joffm antwortete auf Nested questionnaires
As far as I understand, this is not a nested questionnaire - you do not return to the general household questionnaire, but a 1:n relation.
Well, depends a bit of the amount of questions and the maximum amount of individuals.
First:
LS doesn't support loops, so the easiest way is to create as many of the individual questionnaire as groups as the maximum expected number of individuals.
Then you can display these groups be relevance.
If there is a lot of questions like arrays or multiple questions, you might get in trouble because of the length limit of MySQL.

Second:
Create a master questionnaire for the household and ar the end link to a child questionnaire.
This child questinnaires asks for one individual and at the end links to itself to ask for the next.
You just have to pass the needed parameters to be able to merge the data (best by {SAVEDID}) and to stop the child questionnaire.

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 1 Woche her #183252 von DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 6 Tage her #183256 von jelo
jelo antwortete auf Nested questionnaires

cmhhansen schrieb: but we do this with our existing tool, so any alternative we consider might need to have this functionality.

What tool is used currently?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha