Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Using a survey to allow access to content.

  • dpellegrini
  • dpellegrini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #184304 by dpellegrini
Using a survey to allow access to content. was created by dpellegrini
We have partners who contribute content to our site, and they want our users to complete a questionnaire in exchange for access to their content.

Each partner needs to be able to craft their own questionnaire and review the results independently of other partners.

I think this is all possible using LimeSurvey, but I have a couple of questions:
1. How can we enforce that users complete a questionnaire before accessing content?
2. Can returning users who have already completed the questionnaire go directly to the content without having to fill out the questionnaire again?

Any pointers in the right direction appreciated. :-)

David
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #184307 by DenisChenu
Replied by DenisChenu on topic Using a survey to allow access to content.
Your website must do the task using LimeSurvey API.

1. Create a token inside your website for each of your website user
2. Create the related token line using api.limesurvey.org/classes/remotecontrol...hod_add_participants
3. Show the link
4. Check if this participant already answer : api.limesurvey.org/classes/remotecontrol...hod_get_response_ids
5. Use the array returned to show the result of the participant

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose