Personalizing questions based on another survey results

More
1 week 2 days ago #175271 by n0e1983
n0e1983 created the topic: Personalizing questions based on another survey results
I am wondering if questions on a survey could be personalized based on answers person gave in previous survey. What I mean by that, is that in the first survey someone would be asked: "Does any of the below mentioned concern you:" with a list of possible options (checklist), and in survey no. 2 there would be question "How do you rate things mentioned in the first survey now:" with a list of options selected by the same person in survey no. 1? I know front- and backend development, so could modify something myself, just need to know where to look. I could pass some unique identifier in a hidden field from the survey 1, but is there an option to load the options (choices) in survey 2?

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

More
1 week 2 days ago #175273 by DenisChenu
DenisChenu replied the topic: Personalizing questions based on another survey results
2 solution :
- Using endurl : you prefill one question of second survey with answer of first and use "array filter". You hide this second question
- Using gitlab.com/SondagesPro/SurveyAccess/surveyChaining : it's done for this (but for different user's).

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

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

More
1 week 2 days ago #175274 by n0e1983
n0e1983 replied the topic: Personalizing questions based on another survey results
Those are nice options but I don't think they entirely relate to what I would want to achieve. If I understand correctly, by using them I can prefill answers to exactly same question. What I am asking is can I build something like that:

survey 1:

[QUESTION X]

[ ] answer1
[X] answer2
[ ] answer3

survey 2:

[QUESTION Y]:

[0......5] answer1 {HIDDEN}
[0......5] answer2
[0......5] answer3 {HIDDEN}

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

More
1 week 2 days ago #175275 by DenisChenu
DenisChenu replied the topic: Personalizing questions based on another survey results
Yes, but with prefilling : aftyer you can use this copy of Question X in survey 2 …

No other solution : you must copy settings.

Another solution can be usage of a long text question and prefill (using end url or a plugin) it with QXA1-QXA3 (if user enter A1 and A3 to QX), and use specific relevance using strpos in QY

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 .

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

More
1 week 2 days ago #175278 by n0e1983
n0e1983 replied the topic: Personalizing questions based on another survey results
Copy settings. So different question type is not possible. OK.

And what if I would like to remind the user of his previous result - can I get his answers and use it in question in another survey?

For example:
"In the previous survey you have selected:
Answer 2
Answer 3
How do you rate them now?

[0....5]"

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

More
1 week 2 days ago - 1 week 2 days ago #175279 by DenisChenu
DenisChenu replied the topic: Personalizing questions based on another survey results
Yes …

Again : gitlab.com/SondagesPro/SurveyAccess/surveyChaining was done for this. You use Expression like if the question was inside survey.

But you can too use any longtext question with a string where you use strpos to construct a complete Expression. More complex than usage of surveyChaining …

Edit :

Copy settings. So different question type is not possible. OK.

If you use a single response tect : no need same question, but more complex.

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 .
Last Edit: 1 week 2 days 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!