Nested questionnaires

Plus d'informations
il y a 1 semaine 3 jours #183201 par 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

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 semaine 3 jours #183202 par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 2 jours #183252 par 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 .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 semaine 2 jours #183256 par jelo
COM_KUNENA_MESSAGE_REPLIED_NEW

cmhhansen écrit: 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

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!