dependent surveys

More
3 years 4 months ago #133985 by gert
dependent surveys was created by gert
Hi
I need to create and send a follow-up survey based on the answers of a previous survey.
Is there a way to implement such a process?

kr

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 years 4 months ago #133988 by jelo
Replied by jelo on topic dependent surveys

gert wrote: based on the answers of a previous survey.

Based in which way?
E.g. same survey with prefilled answers. Or you have certain answers in the first survey which controls which questions are asked in the second survey.
If Limesurvey is suitable for you depends on the amount of manual work which you can invest.

You might use tokens in the first survey, than add the results of certain answers in token attributes which you can use to control what questions are shown in the followup survey. manual.limesurvey.org/Tokens#User-defined_attribute_fields
But you need to extract the information out of the results from the first survey. If you're used to surveytools which allow to related directly to surveyresults (e.g. rules or lookups), you won't find that kind of features in Limesurvey.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: delarammahdaviii

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #133996 by gert
Replied by gert on topic dependent surveys
it should be: 'certain answers in the first survey which controls which questions are asked in the second survey'

Some questions about healthcare are very alarming and therefor a follow-up survey should be created automatically to check whether the measures taken are successful in reducing complaints.

We are aware we have to do some custome development. As analyst I'm studying LimeSurvey now to establish its capabilities.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #133999 by jelo
Replied by jelo on topic dependent surveys

gert wrote: We are aware we have to do some custome development. As analyst I'm studying LimeSurvey now to establish its capabilities.

Then bring your developer on board soon. Take a look at the API
manual.limesurvey.org/RemoteControl_2_API

You might develop your own application which then creates and controls followup surveys.
Not sure if "Some custom development" will be enough, since survey results are not available in a holistic approach in Limesurvey.

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

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134000 by gert
Replied by gert on topic dependent surveys

jelo wrote: survey results are not available in a holistic approach in Limesurvey.

What do you mean?

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134002 by jelo
Replied by jelo on topic dependent surveys

gert wrote: What do you mean?

There is no direct way to access results from other surveys when your are creating new surveys. There is e.g. no function to let previous answers be part of a participant database out of the box. Token attributes are available per survey or per central participant database (panel approach).
Let's wait till you got your review of Limesurvey finished. I hope you can give some feedback in comparison to other tools.

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

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134046 by DenisChenu
Replied by DenisChenu on topic dependent surveys
Hi,

You have different solution to prefill a survey with another. First step is to use "afterSurveySubmitted" event.

Here : you get the responses : do some test with this response.
If the test show the user muts go to second survey , seems more easy to
- create a token in the seond survey for him
- fill the token table (or the response) with some value
- redirect to the survey

Denis

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 .

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134051 by Mazi
Replied by Mazi on topic dependent surveys

gert wrote: it should be: 'certain answers in the first survey which controls which questions are asked in the second survey'


How many question details do you need to refer to at survey #2?

If this is not overly complex a solution can be to only forward the user to a follow up survey if certain conditions are met. To check this, we can use the Limesurvey Expression Manager. If conditions are met, we call a special URL which points to a new, to be coded script.
That script can be passed the survey ID and data set ID and maybe some question details as well. It can then:
- create a new token at survey #2
- add data at additional token attributes at survey #2
- redirect the user to survey #2 including his token so he/she can directly continue filling out the survey
- alternatively, you can also send the user an email invitation for survey #2

At survey #2 you can use conditions based on token attributes to determine which questions should be shown (based on the details of previous answers to survey #1 stored there).

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134063 by DenisChenu
Replied by DenisChenu on topic dependent surveys
Thinking : we don't need plugin event ...

EndUrl : Expression Manager can be used here : then :
{if(condition,"http://example.org/ls/1234?qcode="+someprfill,"http://example.org/thanks.html")}

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 .
The following user(s) said Thank You: gert

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134065 by Mazi
Replied by Mazi on topic dependent surveys
Exactly... that's what I had in mind.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #134070 by jelo
Replied by jelo on topic dependent surveys
"Follow-up" survey doesn't imply that the survey is directly taken after the first survey.

BTW: What should user do with the information "First step is to use "afterSurveySubmitted" event."?
Search for the term "afterSurveySubmitted" in the manual or the forum won't help.
A line about where and how to catch the event will help to grasp the idea.

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

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #134084 by DenisChenu
Replied by DenisChenu on topic dependent surveys

Mazi wrote: Exactly... that's what I had in mind.

Sorry, i don't see "EndUrl" ;)

@jelo : you(re bright, but i already take some times in forum.

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 .
Last edit: 3 years 4 months ago by DenisChenu.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!