- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
dependent surveys
- gert
- Topic Author
- Offline
- New Member
Less
More
7 years 11 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
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
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 11 months ago #133988
by jelo
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
Replied by jelo on topic dependent surveys
Based in which way?gert wrote: based on the answers of a previous survey.
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
The topic has been locked.
- gert
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
7 years 11 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.
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.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 11 months ago #133999
by jelo
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
Replied by jelo on topic dependent surveys
Then bring your developer on board soon. Take a look at the APIgert wrote: We are aware we have to do some custome development. As analyst I'm studying LimeSurvey now to establish its capabilities.
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
The topic has been locked.
- gert
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
7 years 11 months ago #134000
by gert
Replied by gert on topic dependent surveys
What do you mean?jelo wrote: survey results are not available in a holistic approach in Limesurvey.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 11 months ago #134002
by jelo
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
Replied by jelo on topic dependent surveys
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).gert wrote: What do you mean?
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
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 11 months ago #134046
by 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 , plugin development .
I don't answer to private message.
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
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
7 years 11 months ago #134051
by Mazi
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: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
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: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 11 months ago #134063
by 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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic dependent surveys
Thinking : we don't need plugin event ...
EndUrl : Expression manager can be used here : then :
EndUrl : Expression manager can be used here : then :
Code:
{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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: gert
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
7 years 11 months ago #134065
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
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: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 11 months ago #134070
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
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.
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
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 11 months ago - 7 years 11 months ago #134084
by DenisChenu
@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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic dependent surveys
Sorry, i don't see "EndUrl"Mazi wrote: Exactly... that's what I had in mind.
@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 , plugin development .
I don't answer to private message.
Last edit: 7 years 11 months ago by DenisChenu.
The topic has been locked.