- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Auto token generation
- MiguelLuisSouza
-
Topic Author
- Offline
- New Member
-
Less
More
1 month 3 days ago #264892
by MiguelLuisSouza
Auto token generation was created by MiguelLuisSouza
Hey guys! I'm trying to use LS to collect data for a survey. My question is about a functionality of the platform. After completing my questionnaire, I need each participant to receive an automatically generated link with three more accesses. This link must be sent to three new participants. Successively, each new participant receives a new automatically generated link with three more accesses to the questionnaire.
Ideally I need to identify the relationship between ID and token, as shown in the image
Ideally I need to identify the relationship between ID and token, as shown in the image
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 13844
- Thank you received: 2521
1 month 2 days ago #264902
by DenisChenu
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 Auto token generation
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.
Please Log in to join the conversation.
- tpartner
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 10148
- Thank you received: 3607
1 month 2 days ago - 1 month 2 days ago #264905
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 Auto token generation
Maybe redirect to a PHP page that uses the API add_participants() and invite_participants() methods.
An old example - forums.limesurvey.org/forum/can-i-do-thi...rvey?start=15#171537
An old example - forums.limesurvey.org/forum/can-i-do-thi...rvey?start=15#171537
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 month 2 days ago by tpartner.
Please Log in to join the conversation.
- tammo
-
- Offline
- Official LimeSurvey Partner
-
1 month 2 days ago - 1 month 2 days ago #264910
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Auto token generation
In Survey 1: generate a random code. Use this random code in an email that you send to the respondent, showing a URL that they can use to invite three other people.
research.respondage.com/index.php/887227?newtest=Y&lang=en (this works and the URL for survey 2 will be sent to your email)
Example of URL for survey 2
research.respondage.com/index.php/353658...Y&lang=en&pin=QAZWSX
research.respondage.com/index.php/887227?newtest=Y&lang=en (this works and the URL for survey 2 will be sent to your email)
Example of URL for survey 2
research.respondage.com/index.php/353658...Y&lang=en&pin=QAZWSX
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Attachments:
Last edit: 1 month 2 days ago by tammo.
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 13844
- Thank you received: 2521
1 month 13 hours ago #264921
by DenisChenu
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 Auto token generation
Great idea This email address is being protected from spambots. You need JavaScript enabled to view it.
If you need a complex code : you can use gitlab.com/SondagesPro/QuestionSettingsType/generateUniqId
If you need a complex code : you can use gitlab.com/SondagesPro/QuestionSettingsType/generateUniqId
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.
Please Log in to join the conversation.