Check out the LimeSurvey source code on GitHub!

How to: Connect two token based surveys (by forwarding)

More
2 years 11 months ago #106436 by firstservey
Hello

I want to connect two surveys. Both are token-based.

Register --> first survey --> second survey

How to do?

Yes, I would make a donation for a detailed tutorial. Thanks.

Please Log in to join the conversation.

More
2 years 11 months ago #106444 by firstservey

firstservey wrote: Yes, I would make a donation for a detailed tutorial. Thanks.


Meaning: Yes, I would make a donation to limesurvey if someone explains the procedure in detail.

Sorry for my bad english

Please Log in to join the conversation.

More
2 years 11 months ago #106447 by holch
What do you mean with "connect" exactly?

From what I understand, you want to have two surveys and once the first survey is completed, you want the respondent to be redirected to the next survey, correct?

And you want to pass on the token to the next survey?

Here is what I would do:
- Create the two token tables igually (so there must be the same tokens created for both surveys).
- At the end of the first survey you will use the end URL feature, with the basically the URL that you would use with tokens for the second URL.
- You can pass through the token to the end URL ( manual.limesurvey.org/URL_fields#Passthr...rvey_2.x_or_later.29 )
- Subsitute in the end url the field where the token would be with {TOKEN}, this should pass on the token used in survey one to the url of survey 2 and thus the token should be the same for both surveys, which means you can identify the respondent via the token and match the responses.

Is this what you are looking for?

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

Please Log in to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #106452 by firstservey
First. Yes, your discription is correct, but missed the part, that the respondents have to register first.


Well, the solution with two token tables is not working if the respondent has to register and the token is just created.



I thought that their is might an easy solution with mysql.
I created a table with the links to 'survey 2' like this: 'mysite.com/index.php/621546/lang/de/token/AAAAA'

Then my problem starts. I thought that mysql should be able to connect attribute_1 from 'survey 1' with this table.
Last Edit: 2 years 11 months ago by firstservey.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form