- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to: Connect two token based surveys (by forwarding)
- firstservey
- Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago #106436
by firstservey
How to: Connect two token based surveys (by forwarding) was created 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.
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.
The topic has been locked.
- firstservey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 1 month ago #106444
by firstservey
Meaning: Yes, I would make a donation to limesurvey if someone explains the procedure in detail.
Sorry for my bad english
Replied by firstservey on topic How to: Connect two token based surveys (by forwarding)
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
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
10 years 1 month ago #106447
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 How to: Connect two token based surveys (by forwarding)
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?
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 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: firstservey
The topic has been locked.
- firstservey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 1 month ago - 10 years 1 month ago #106452
by firstservey
Replied by firstservey on topic How to: Connect two token based surveys (by forwarding)
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.
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: 10 years 1 month ago by firstservey.
The topic has been locked.