Multiple surveys - reference requestion

More
2 years 9 months ago #116602 by ylafont
ylafont created the topic: Multiple surveys - reference requestion
I need to reference an answer from a previous survey and set the current survey answers to the same value. is this possible?

Please Log in to join the conversation.

More
2 years 9 months ago #116632 by Mazi
Mazi replied the topic: Multiple surveys - reference requestion
This isn't possible. For security reasons one can't refer to answers of a different survey or even a different data set at the same survey.

The only way to achieve this would be to code an Ajax call to query the database directly for that information. Additionally you need to "port" that answer into the current survey and mark the related option using JavaScript.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 9 months ago #116681 by ylafont
ylafont replied the topic: Multiple surveys - reference requestion
Thank you Maxi - I am looking to avoid re-asking questions that have been answered in previous surveys.
or ask something like

"You entered/selected this previously, is this correct?"

Is there a preferred method, for this type of questions where the answer is in a previous survey?

Please Log in to join the conversation.

More
2 years 9 months ago #116687 by Mazi
Mazi replied the topic: Multiple surveys - reference requestion

ylafont wrote: Is there a preferred method, for this type of questions where the answer is in a previous survey?

As said, the only way to reference a previous answers from another survey is to custom code the requried DB query and embed the result at the current survey.

If there are only a dozen participants, you can also manually port the old answers into additional token attributes if you are using tokens and then refer to those values via placeholders.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 9 months ago #116696 by holch
holch replied the topic: Multiple surveys - reference requestion
Well, I don't think the problem would be the number of participants, but rather the number of questions you would like to include into this.

If it is only a few questions, you can export those questions and include them into the token table of the next survey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!