Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there anyway to identify the Drupal user who gave responses to a survey? I'm not finding the documentation that covers this.
Comments
Comment #1
thedut CreditAttribution: thedut commentedHello swamiman,
Yes, it does exist, you can identify the Drupal user who gave responses to a survey :
- under the LimeSurvey admin interface, create a token table (token management tab) if it does not already exist,
- and under the survey node options tab, check Fill the token table of the LimeSurvey database with corresponding usernames and emails (uncheck by default) :
The Limesurvey token table will store the corresponding drupal username and email for each new answer.
Comment #2
dustinrwh CreditAttribution: dustinrwh commentedThanks for the quick response (swamiman and I are working on the same project, by the way). However, we are still having issues. When I try to save the setting: Fill the token table of the LimeSurvey database with corresponding usernames and emails, I get the following error: Only surveys with token-based response persistence enabled can export users informations
Not sure why I can't save the settings. Any ideas?
Comment #3
dustinrwh CreditAttribution: dustinrwh commentedWe figured it out. We had to go into LimeSurvey and find the setting "token-based response persistence" and enable that. We just didn't know what that meant.
Thanks so much!
Comment #4
Voice-Brand-Agency CreditAttribution: Voice-Brand-Agency commentedHello dustinrwh,
I was exactly looking for the same solution and saw your post, great. It worked for me too.
Cool
Voice Brand Agency
Comment #5
dustinrwh CreditAttribution: dustinrwh commentedGlad it helped :)
Comment #6
thedut CreditAttribution: thedut commentedit means that the LimeSurvey software is going to preserve the association between a token and an answer ID.
That why if you want to identify a specific user (accessing to the survey form thanks to a unique token), you should enable it.
I close this post (works as designed).
Comment #7
abato CreditAttribution: abato commentedSorry to ask this question here - but don't know where else to ask:
Can I use this module to send survey invitations to a subset of my registered users? or is the integration mostly about aesthetics?
Sincerely
Comment #8
thedut CreditAttribution: thedut commentedHi abato,
Yes, you can send a survey invitation to a subset of your registered users :
Comment #9
thedut CreditAttribution: thedut commentedreset from 'active' to 'Closed (works as designed)' : it seems to be an issue of the Drupal.org D7 upgrade process.
Comment #10
Chetan Sharma CreditAttribution: Chetan Sharma commentedAfter enable "token-based response persistence". Drupal user or admin is not able to access the survey. What can be the solution for the same??
Comment #11
thedut CreditAttribution: thedut commentedHello Chetan Sharma,
Just set the appropriate permissions on the Drupal permission page (Admin > People > Permissions or http://example.com/admin/people/permissions).