- Posts: 89
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I add a ID comfirmation in front of a survey?
- free521521521
- Topic Author
- Offline
- Premium Member
Less
More
2 weeks 1 day ago #262551
by free521521521
Can I add a ID comfirmation in front of a survey? was created by free521521521
Please help us help you and fill where relevant:
Your LimeSurvey version: [6.5.4]
Own server or LimeSurvey hosting:self-host
Survey theme/template:fruity
==================
I want to send the link to the students' group. Invite them to take part in a survey. I want to make sure they are the student in the right rank, I have the student ID number data. So, I think I can add a cover page for this survey; the participants need to input the student's ID to pass the cover page. So I can do it with LS? I think it is best to add this blank form to the register page. The perfect interface would be to input the Email and student ID only. How can I do it?
Thanks
Your LimeSurvey version: [6.5.4]
Own server or LimeSurvey hosting:self-host
Survey theme/template:fruity
==================
I want to send the link to the students' group. Invite them to take part in a survey. I want to make sure they are the student in the right rank, I have the student ID number data. So, I think I can add a cover page for this survey; the participants need to input the student's ID to pass the cover page. So I can do it with LS? I think it is best to add this blank form to the register page. The perfect interface would be to input the Email and student ID only. How can I do it?
Thanks
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10119
- Thank you received: 3598
2 weeks 1 day ago #262556
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 Can I add a ID comfirmation in front of a survey?
Use the student IDs as tokens. If you do not append a token to the survey URL, they will be presented with a screen to enter their token before starting the survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- free521521521
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 89
- Thank you received: 2
2 weeks 1 day ago - 2 weeks 1 day ago #262559
by free521521521
Replied by free521521521 on topic Can I add a ID comfirmation in front of a survey?
The problem is I do not have their email, so on the register page, the Email is for Survey sending, and the ID is for identity confirmation. I still want to sent survey by emails to them
Is that possible?
Is that possible?
Last edit: 2 weeks 1 day ago by free521521521.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13045
- Thank you received: 4014
2 weeks 1 day ago #262565
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Can I add a ID comfirmation in front of a survey?
How many valid IDs?
You can add all valid IDs i a question of type "huge text" as default answer with a certain structure like
#ID001ID#ID002ID#ID003ID#ID004ID#... (I do not know the structure of your IDs.)
Then after entering the ID check with the function strpos(haystack,needle) if the entered ID is in your ID pool
And as your installation is on your own server you may consider an ajax call.
Create a database with your IDs.
Create a script to query your database which returns TRUE or FALSE
Joffm
You can add all valid IDs i a question of type "huge text" as default answer with a certain structure like
#ID001ID#ID002ID#ID003ID#ID004ID#... (I do not know the structure of your IDs.)
Then after entering the ID check with the function strpos(haystack,needle) if the entered ID is in your ID pool
And as your installation is on your own server you may consider an ajax call.
Create a database with your IDs.
Create a script to query your database which returns TRUE or FALSE
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.