- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Is it possible to include answers from a previous survey?
- chipcarden
- Topic Author
- Offline
- New Member
Less
More
4 years 5 months ago #189743
by chipcarden
Is it possible to include answers from a previous survey? was created by chipcarden
For example, could I have a question that said:
"Two weeks ago you rated your manager's helpfulness a 5 on a scale of 1 to 10. Would you say since then your manager's helpfulness has:
a) improved
b) decreased
c) stayed the same
In this example the "5" pulls from a question on one of this users previous surveys. This would require some logic to determine if this user has appropriate results from a previous survey and then, if so, dynamically pulling them in.
I've scanned a lot of the documentation and forum, but I haven't been able to determine if this type of thing is possible with LimeSurvey. Thanks in advance for your help.
"Two weeks ago you rated your manager's helpfulness a 5 on a scale of 1 to 10. Would you say since then your manager's helpfulness has:
a) improved
b) decreased
c) stayed the same
In this example the "5" pulls from a question on one of this users previous surveys. This would require some logic to determine if this user has appropriate results from a previous survey and then, if so, dynamically pulling them in.
I've scanned a lot of the documentation and forum, but I haven't been able to determine if this type of thing is possible with LimeSurvey. Thanks in advance for your help.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 5 months ago #189746
by jelo
You might find workarounds via third party scripts or plugins, but they will demand extra care and might not work as expected throughout the lifecycle of the software.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Is it possible to include answers from a previous survey?
This functionality is not available inside LimeSurvey.chipcarden wrote: but I haven't been able to determine if this type of thing is possible with LimeSurvey.
You might find workarounds via third party scripts or plugins, but they will demand extra care and might not work as expected throughout the lifecycle of the software.
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: DenisChenu
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10630
- Thank you received: 3696
4 years 5 months ago #189750
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Is it possible to include answers from a previous survey?
This would likely require some fairly extensive coding involving an AJAX call to a remote PHP file that uses the API or direct SQL queries to retrieve previous records.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
4 years 5 months ago #189756
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Is it possible to include answers from a previous survey?
Hi,
I have done something like that in the past. Please, contact me at gabriel@encuesta.biz and we can discuss further.
Thanks
I have done something like that in the past. Please, contact me at gabriel@encuesta.biz and we can discuss further.
Thanks
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11756
- Thank you received: 2753
4 years 5 months ago #189775
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Is it possible to include answers from a previous survey?
If you need this automated, then this will be probably a lot of custom coding, as mentioned above.
However, if a little bit of manual labor isn't off the charts, then you could create this relatively quickly.
Just create a token table including the responses from the previous survey in custom attributes and then pipe these results into the survey.
However, if a little bit of manual labor isn't off the charts, then you could create this relatively quickly.
Just create a token table including the responses from the previous survey in custom attributes and then pipe these results into the survey.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 5 months ago #189789
by DenisChenu
And if you want some automatisation : updateTokenByResponse can help.
Else solution to get previous response by current token value in "multi token survey" can be done too with plugin ( you can contact Gabriel or any other parners
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 Is it possible to include answers from a previous survey?
Yep : this solution work :+1:holch wrote: Just create a token table including the responses from the previous survey in custom attributes and then pipe these results into the survey.
And if you want some automatisation : updateTokenByResponse can help.
Else solution to get previous response by current token value in "multi token survey" can be done too with plugin ( you can contact Gabriel or any other parners
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.