Nested questionnaires

Mehr
1 Woche 3 Tage her #183201 von cmhhansen
COM_KUNENA_MESSAGE_CREATED_NEW
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 an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
1 Woche 3 Tage her #183202 von Joffm
COM_KUNENA_MESSAGE_REPLIED_NEW
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 an der Konversation teilzunehmen.

Mehr
1 Woche 2 Tage her #183252 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW

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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 2 Tage her #183256 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW

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 an der Konversation teilzunehmen.

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