Actions

Survey participants: Difference between revisions

From LimeSurvey Manual

mNo edit summary
(Marked this version for translation)
Line 3: Line 3:
__TOC__
__TOC__


<!--T:132-->
<div class="simplebox">The words ''token'' and ''survey participant'' are used interchangeably in this wiki section.</div>
<div class="simplebox">The words ''token'' and ''survey participant'' are used interchangeably in this wiki section.</div>
   
   
Line 28: Line 29:
{{Note|Some tokens-related settings are stored in the [[Participant tokens|participant tokens]] panel.}}
{{Note|Some tokens-related settings are stored in the [[Participant tokens|participant tokens]] panel.}}


=How to create a survey participants table?=
=How to create a survey participants table?= <!--T:133-->


<!--T:134-->
To activate the tokens functionality of LimeSurvey, access the survey and click on the '''Survey Participants''' button from the '''Settings menu'''. You will be prompted by the following message:
To activate the tokens functionality of LimeSurvey, access the survey and click on the '''Survey Participants''' button from the '''Settings menu'''. You will be prompted by the following message:




<!--T:135-->
<center>[[File:Switch-to-closed-access-mode-2.png]]</center>
<center>[[File:Switch-to-closed-access-mode-2.png]]</center>




<!--T:136-->
If you ''initialize a participant table'', the survey will be accessible only to those users that provide in the survey registration process a token code (either manually or by URL). In this way, the survey will be switched to the '''closed-access''' mode.
If you ''initialize a participant table'', the survey will be accessible only to those users that provide in the survey registration process a token code (either manually or by URL). In this way, the survey will be switched to the '''closed-access''' mode.


<!--T:137-->
Once initialized, a window will load up with the confirmation of the participant/token table creation.  
Once initialized, a window will load up with the confirmation of the participant/token table creation.  


==Reactivate a token table==
==Reactivate a token table== <!--T:138-->


<!--T:139-->
When you delete a survey participants table, a backup is created. It can be later reactivated if you wish to use that specific survey participants table in another survey:
When you delete a survey participants table, a backup is created. It can be later reactivated if you wish to use that specific survey participants table in another survey:




<!--T:140-->
<center>[[File:Restore old token tables.png]]</center>
<center>[[File:Restore old token tables.png]]</center>


Line 50: Line 57:
=The token management tools= <!--T:11-->
=The token management tools= <!--T:11-->


<!--T:141-->
A survey participant summary will load up if the token/participant table was previously created. This is the default screen:
A survey participant summary will load up if the token/participant table was previously created. This is the default screen:




<!--T:142-->
<center>[[File:Survey participant summary.png]]</center>
<center>[[File:Survey participant summary.png]]</center>




<!--T:143-->
*'''Total records:''' The number of survey participants from the survey participants table;
*'''Total records:''' The number of survey participants from the survey participants table;
*'''Total with no unique token:''' It displays the number of users without an assigned token code;
*'''Total with no unique token:''' It displays the number of users without an assigned token code;
Line 63: Line 73:
*'''Total surveys completed:''' It shows the number of the surveys that have been completed by those users who have been allocated a token code.  
*'''Total surveys completed:''' It shows the number of the surveys that have been completed by those users who have been allocated a token code.  


<!--T:144-->
Above the '''Survey participant summary''' table, you may find the '''token management tools''':
Above the '''Survey participant summary''' table, you may find the '''token management tools''':


Line 70: Line 81:




<!--T:145-->
*[[Survey participants#Display participants|Display participants]]: If clicked, a survey participants table with all the current participants will load up. From the browse screen you can edit or delete individual entries from the table as well as perform a number of other useful functions (see the [[Survey participants#Display participants|Display participants wiki]] section below for more details);
*[[Survey participants#Display participants|Display participants]]: If clicked, a survey participants table with all the current participants will load up. From the browse screen you can edit or delete individual entries from the table as well as perform a number of other useful functions (see the [[Survey participants#Display participants|Display participants wiki]] section below for more details);
*[[Survey participants#Create...|Create...]]: This option allows the survey administrator to add respondents into the survey participants table either via the '''Add participant''' option or via the '''Import participants''' function;
*[[Survey participants#Create...|Create...]]: This option allows the survey administrator to add respondents into the survey participants table either via the '''Add participant''' option or via the '''Import participants''' function;
Line 79: Line 91:




==Display participants==
==Display participants== <!--T:146-->


<!--T:29-->
<!--T:29-->
Line 89: Line 101:




<!--T:147-->
<center>[[File:token-actions.png]]</center>
<center>[[File:token-actions.png]]</center>




===Sort the survey participants===
===Sort the survey participants=== <!--T:148-->


<!--T:31-->
<!--T:31-->
Line 98: Line 111:




<!--T:149-->
<center>[[File:Display participants - sort.png]]</center>
<center>[[File:Display participants - sort.png]]</center>




===Filter the survey participants===
===Filter the survey participants=== <!--T:150-->


<!--T:151-->
If you wish to filter the survey participants, choose the column according to which you want to filter the participant. Type in below the first row the values/strings according to which the filtering should be done:
If you wish to filter the survey participants, choose the column according to which you want to filter the participant. Type in below the first row the values/strings according to which the filtering should be done:




<!--T:152-->
<center>[[File:Display participants - filter.png]]</center>
<center>[[File:Display participants - filter.png]]</center>




<!--T:153-->
For example, type in the email status field "OK" in order to let LimeSurvey return only those users that use a good email address.
For example, type in the email status field "OK" in order to let LimeSurvey return only those users that use a good email address.


<!--T:154-->
<div class="simplebox">[[File:help.png]] '''Hint:''' You can also use operators when filtering the survey participants (eg: >, <, >=, <=, = ). </div>
<div class="simplebox">[[File:help.png]] '''Hint:''' You can also use operators when filtering the survey participants (eg: >, <, >=, <=, = ). </div>


===Perform a specific action to an individual entry===
===Perform a specific action to an individual entry=== <!--T:155-->


<!--T:156-->
The second column is the '''Action''' column where you can find all the actions that are available for each individual entry from the survey participants table. The possible actions that can be performed are:
The second column is the '''Action''' column where you can find all the actions that are available for each individual entry from the survey participants table. The possible actions that can be performed are:




<!--T:157-->
<center>[[File:Display participants - participant action.png]]</center>
<center>[[File:Display participants - participant action.png]]</center>


Line 130: Line 150:




===Perform a specific actions to more than one entry===
===Perform a specific actions to more than one entry=== <!--T:158-->


<!--T:159-->
On the bottom-left part of the table, you may find the '''Selected participant(s)...''' button that allows you to perform certain actions at a macro level:
On the bottom-left part of the table, you may find the '''Selected participant(s)...''' button that allows you to perform certain actions at a macro level:




<!--T:160-->
<center>[[File:Display participants - participants actions.png]]</center>
<center>[[File:Display participants - participants actions.png]]</center>




<!--T:161-->
*'''Send email invitations:''' Send email invitations to the selected survey participants;
*'''Send email invitations:''' Send email invitations to the selected survey participants;
*'''Send email reminder:''' Send email reminders to the selected survey participants;
*'''Send email reminder:''' Send email reminders to the selected survey participants;
*'''Add participants to central database:''' In the case in which you would like to use some of the token entries into another survey, add the selected participants to the [[Central participants database|central participants database]]. From there, you have the option to add the participants to any survey you wish. For more details, continue reading the [[Central_participants_database#Share_this_participant|Share this participant]] wiki page.
*'''Add participants to central database:''' In the case in which you would like to use some of the token entries into another survey, add the selected participants to the [[Central participants database|central participants database]]. From there, you have the option to add the participants to any survey you wish. For more details, continue reading the [[Central_participants_database#Share_this_participant|Share this participant]] wiki page.


<!--T:162-->
{{Box|Before executing any of the functions mentioned above, do not forget to select the survey participants upon which the action will be performed.}}
{{Box|Before executing any of the functions mentioned above, do not forget to select the survey participants upon which the action will be performed.}}




==Create...==
==Create...== <!--T:163-->


<!--T:164-->
To have more participants listed in the survey participants table, you can either add new ones or import them from a CSV file or LDAP query.  
To have more participants listed in the survey participants table, you can either add new ones or import them from a CSV file or LDAP query.  




<!--T:165-->
<center>[[File:Survey participants - Create....png]]</center>
<center>[[File:Survey participants - Create....png]]</center>




===Add participant===
===Add participant=== <!--T:166-->


<!--T:15-->
<!--T:15-->
Line 159: Line 185:




<!--T:167-->
<center>[[File:token_editing2.png]]</center>
<center>[[File:token_editing2.png]]</center>




<!--T:168-->
*'''ID:''' It represents an integer that is automatically assigned to each survey participant;
*'''ID:''' It represents an integer that is automatically assigned to each survey participant;
*'''Completed?''': It is disabled by default. If enabled, it would contain the date when the survey was completed. No invitations or reminders will be sent to the respective users if this is enabled. It gets automatically enabled if the respective survey participant completed the survey by using his or her assigned token code;  
*'''Completed?''': It is disabled by default. If enabled, it would contain the date when the survey was completed. No invitations or reminders will be sent to the respective users if this is enabled. It gets automatically enabled if the respective survey participant completed the survey by using his or her assigned token code;  
Line 178: Line 206:
Note that the '''Add survey participant''' panel is made of two tabs: the '''General tab''' and the '''Additional attributes''' tab. The additional attributes tab offers you access to your custom attributes - read the following [[Survey participants#Manage attributes|wiki section]] for more details.
Note that the '''Add survey participant''' panel is made of two tabs: the '''General tab''' and the '''Additional attributes''' tab. The additional attributes tab offers you access to your custom attributes - read the following [[Survey participants#Manage attributes|wiki section]] for more details.


===Create dummy participants===
===Create dummy participants=== <!--T:169-->


<!--T:170-->
A dummy participant can be used when you do not want to send emails with the token code to each participant, but to give him or her the token code by other means. For example, students receive during class evaluations a paper with an invitation code to be introduced at the beginning of the online survey. In this way, the likelihood to receive more responses and feedback increases.
A dummy participant can be used when you do not want to send emails with the token code to each participant, but to give him or her the token code by other means. For example, students receive during class evaluations a paper with an invitation code to be introduced at the beginning of the online survey. In this way, the likelihood to receive more responses and feedback increases.


<!--T:171-->
If you click on the button, the following page will load up:
If you click on the button, the following page will load up:




<!--T:172-->
<center>[[File:Survey participants - create a dummy participant.png]]</center>
<center>[[File:Survey participants - create a dummy participant.png]]</center>




<!--T:173-->
The '''Number of participants''' field allows you to introduce a number of dummy variables you wish to add to your survey participants table. The explanation of the other fields can be found in the [[Survey participants#Add participant|Add participant]] wiki subsection.
The '''Number of participants''' field allows you to introduce a number of dummy variables you wish to add to your survey participants table. The explanation of the other fields can be found in the [[Survey participants#Add participant|Add participant]] wiki subsection.


<!--T:174-->
After completing the fields, press the '''Save''' button located in the upper-right part of the screen to save the dummy variables.
After completing the fields, press the '''Save''' button located in the upper-right part of the screen to save the dummy variables.


<!--T:175-->
To check whether they were added or not, visit again the '''Survey participants''' table:  
To check whether they were added or not, visit again the '''Survey participants''' table:  




<!--T:176-->
<center>[[File:Dummy variables - simple example.png]]</center>
<center>[[File:Dummy variables - simple example.png]]</center>




===Import participants from a CSV file===
===Import participants from a CSV file=== <!--T:177-->


<!--T:178-->
The import function permits you to import information from a [[Survey participants#Import participants from a CSV file|CSV file]] or [[Survey participants#Import participants from a LDAP query|LDAP query]].
The import function permits you to import information from a [[Survey participants#Import participants from a CSV file|CSV file]] or [[Survey participants#Import participants from a LDAP query|LDAP query]].


Line 207: Line 243:




<!--T:179-->
*'''Choose the CSV file to upload:''' Pick the CSV file you wish to import. To eliminate any possible errors, it is recommended to import a standard CSV (comma delimited) file with optional double quotes around values (default for OpenOffice and Excel).  
*'''Choose the CSV file to upload:''' Pick the CSV file you wish to import. To eliminate any possible errors, it is recommended to import a standard CSV (comma delimited) file with optional double quotes around values (default for OpenOffice and Excel).  


<!--T:180-->
'''The first line must contain the field names'''. It <u>must</u> also contain the following fields: ''firstname, lastname, email''.  
'''The first line must contain the field names'''. It <u>must</u> also contain the following fields: ''firstname, lastname, email''.  


<!--T:181-->
They have to contain at least one character. Simply adding double quotes and no characters between them will not work!  
They have to contain at least one character. Simply adding double quotes and no characters between them will not work!  


<!--T:182-->
The other fields are optional: ''emailstatus, token, language, validfrom, validuntil, attribute_1, attribute_2, attribute_3, usesleft, ... .''
The other fields are optional: ''emailstatus, token, language, validfrom, validuntil, attribute_1, attribute_2, attribute_3, usesleft, ... .''


Line 221: Line 261:
{{Hint|Text=The date format for the "validfrom" and "validuntil" fields in the CSV token inport file is "YYYY-MM-DD HH:MM".}}
{{Hint|Text=The date format for the "validfrom" and "validuntil" fields in the CSV token inport file is "YYYY-MM-DD HH:MM".}}


<!--T:183-->
*'''Character set of the file:''' Select the option that fits the characters used in the CSV file;
*'''Character set of the file:''' Select the option that fits the characters used in the CSV file;
*'''Separator used:''' You can let LimeSurvey automatically discover the used separator in your CSV or select either the ''comma'' separator or the ''semicolon'' one;
*'''Separator used:''' You can let LimeSurvey automatically discover the used separator in your CSV or select either the ''comma'' separator or the ''semicolon'' one;
Line 230: Line 271:
*'''Filter duplicate records:''' If enabled, you can set which fields are used to identify duplicates. By default First name, Last name & Email-address are preselected. If a duplicate is found while importing, the related line is omitted.
*'''Filter duplicate records:''' If enabled, you can set which fields are used to identify duplicates. By default First name, Last name & Email-address are preselected. If a duplicate is found while importing, the related line is omitted.


<!--T:184-->
*'''Duplicates are determined by:''' Select the fields according to which you would like to see the filtering process happening.
*'''Duplicates are determined by:''' Select the fields according to which you would like to see the filtering process happening.


Line 236: Line 278:
     <code>email,attribute_1 <Casenr>, token, attribute_2 <Title>, attribute_3 <destination>, lastname,firstname,attribute_4 <Sender></code>
     <code>email,attribute_1 <Casenr>, token, attribute_2 <Title>, attribute_3 <destination>, lastname,firstname,attribute_4 <Sender></code>


<!--T:185-->
Once you are done choosing the desired importing settings, do not forget to click on the '''Upload''' button.
Once you are done choosing the desired importing settings, do not forget to click on the '''Upload''' button.




<!--T:55-->
====Troubleshooting the token import==== <!--T:55-->
====Troubleshooting the token import====


<!--T:56-->
<!--T:56-->
Line 248: Line 290:
Recommended free raw text editors are: [http://www.pspad.com/ PSPad], [http://www.flos-freeware.ch/notepad2.html NotePad2] or [http://notepad-plus-plus.org/ Notepad++] for Windows, and [http://www.barebones.com/products/textwrangler/ TextWrangler] for Macintosh.
Recommended free raw text editors are: [http://www.pspad.com/ PSPad], [http://www.flos-freeware.ch/notepad2.html NotePad2] or [http://notepad-plus-plus.org/ Notepad++] for Windows, and [http://www.barebones.com/products/textwrangler/ TextWrangler] for Macintosh.


<!--T:186-->
{{Box|LimeSurvey should also detect semicolons as separators. However, in the case in which the import process is not properly working, replace the semicolons with commas. Double quotes should also be added around values.}}
{{Box|LimeSurvey should also detect semicolons as separators. However, in the case in which the import process is not properly working, replace the semicolons with commas. Double quotes should also be added around values.}}


===Import participants from a LDAP query===
===Import participants from a LDAP query=== <!--T:187-->


<!--T:188-->
{{Alert|title=Attention|text=This option is recommended only to those users with advanced knowledge in LDAP queries.}}
{{Alert|title=Attention|text=This option is recommended only to those users with advanced knowledge in LDAP queries.}}


<!--T:189-->
This import function allows you to import information from an LDAP query (tested on openLdap, but should work in any LDAP compliant directory including ActiveDirectory). Once accessed, the following options are available:
This import function allows you to import information from an LDAP query (tested on openLdap, but should work in any LDAP compliant directory including ActiveDirectory). Once accessed, the following options are available:


<!--T:190-->
<center>[[File:Import survey participants from LDAP.png]]</center>
<center>[[File:Import survey participants from LDAP.png]]</center>


Line 262: Line 308:
* Duplicates are identified by First Name, Last Name & Email-Address. If a duplicate is found while importing, the related line is omitted (unless you have unchecked the Filter Duplicates checkbox).
* Duplicates are identified by First Name, Last Name & Email-Address. If a duplicate is found while importing, the related line is omitted (unless you have unchecked the Filter Duplicates checkbox).


<!--T:191-->
{{Note|For more details about the LDAP settings in LimeSurvey, read the [[LDAP settings|following wiki page]].}}
{{Note|For more details about the LDAP settings in LimeSurvey, read the [[LDAP settings|following wiki page]].}}




==Manage attributes==
==Manage attributes== <!--T:192-->


<!--T:193-->
This option allows you to add/edit the additional fields of your survey participantst table. The extra fields are used to store custom survey participants data:
This option allows you to add/edit the additional fields of your survey participantst table. The extra fields are used to store custom survey participants data:




<!--T:194-->
<center>[[File:Survey participants - Add attributes.png]]</center>
<center>[[File:Survey participants - Add attributes.png]]</center>




<!--T:195-->
Type in the number of new attribute fields you wish to add to your survey participants table. Click on the '''Add fields''' button. The following page will load up:
Type in the number of new attribute fields you wish to add to your survey participants table. Click on the '''Add fields''' button. The following page will load up:




<!--T:196-->
<center>[[File:token_manage.png]]</center>
<center>[[File:token_manage.png]]</center>




<!--T:197-->
The attribute fields table contain the following fields:
The attribute fields table contain the following fields:
*'''Attribute field:''' the value that will be typed in here can be used when you wish to do different operations with the respective custom attribute field such as: applying [[Setting conditions|conditions]] based on attribute fields or when exporting results for non-anonymous surveys;
*'''Attribute field:''' the value that will be typed in here can be used when you wish to do different operations with the respective custom attribute field such as: applying [[Setting conditions|conditions]] based on attribute fields or when exporting results for non-anonymous surveys;
Line 288: Line 340:
*'''Example data:''' It contains string examples from different fields. For example, if you wish to ask for the gender of the survey participant, then you will observe in the '''Example data''' field examples such as male, female, no answer etc.
*'''Example data:''' It contains string examples from different fields. For example, if you wish to ask for the gender of the survey participant, then you will observe in the '''Example data''' field examples such as male, female, no answer etc.


<!--T:198-->
Once you finish filling in the boxes, do not forget to click on the '''Save''' button that is located in the bottom-left part of the screen.
Once you finish filling in the boxes, do not forget to click on the '''Save''' button that is located in the bottom-left part of the screen.


Line 293: Line 346:
<div class="simplebox">[[File:help.png]] Detailed instructions on how to add additional attribute fields and use conditions based on these values can be found on this blog post: "[http://www.limesurvey-consulting.com/limesurvey-conditions-based-on-token-attributes/ Conditions based on token attributes]".</div>
<div class="simplebox">[[File:help.png]] Detailed instructions on how to add additional attribute fields and use conditions based on these values can be found on this blog post: "[http://www.limesurvey-consulting.com/limesurvey-conditions-based-on-token-attributes/ Conditions based on token attributes]".</div>


<!--T:199-->
To add more fields, go to the bottom of the page, and type in the '''Number of attribute fields to add''' box the desired number and click on the '''Add fields''' button.
To add more fields, go to the bottom of the page, and type in the '''Number of attribute fields to add''' box the desired number and click on the '''Add fields''' button.


<!--T:200-->
If you wish to delete a custom attribute, go to the bottom of the page and select from the drop-down list situated under the '''Delete this attribute''' field the attribute you wish to delete. Once selected, click on '''Delete attribute''' and confirm the deletion.
If you wish to delete a custom attribute, go to the bottom of the page and select from the drop-down list situated under the '''Delete this attribute''' field the attribute you wish to delete. Once selected, click on '''Delete attribute''' and confirm the deletion.




==Export==
==Export== <!--T:201-->


<!--T:202-->
If you wish to export a survey participants table, click on the "Export" button located on the token management tools toolbar. Before exporting the survey participants list, select the desired export options:
If you wish to export a survey participants table, click on the "Export" button located on the token management tools toolbar. Before exporting the survey participants list, select the desired export options:




<!--T:203-->
<center>[[File:Survey participants - export.png]]</center>
<center>[[File:Survey participants - export.png]]</center>




<!--T:204-->
*'''Survey status:'''
*'''Survey status:'''
**''All tokens:'' It exports all the survey participants from the survey participants table;
**''All tokens:'' It exports all the survey participants from the survey participants table;
Line 318: Line 376:
*'''Delete exported participants:''' If enabled, the exported users will be deleted from your survey participants table.
*'''Delete exported participants:''' If enabled, the exported users will be deleted from your survey participants table.


<!--T:205-->
Once you have selected the exporting options, click on the '''Download CSV file''' button located in the upper right part of the screen.
Once you have selected the exporting options, click on the '''Download CSV file''' button located in the upper right part of the screen.


Line 325: Line 384:
<code>tid,firstname,lastname,email,emailstatus,token,language code,attribute_1,attribute_2,...</code></div>
<code>tid,firstname,lastname,email,emailstatus,token,language code,attribute_1,attribute_2,...</code></div>


==Invitations & reminders==
==Invitations & reminders== <!--T:206-->


<!--T:207-->
This functionality allows you to manage the LimeSurvey invitations system. You can send invitations or reminders to those participants that are displayed in your [[Survey participants#Display participants|survey participants table]]. An [[Email bounce tracking system|email bounce tracking system]] can be used in order to help you track down and mark the emails that were not delivered to the recipients (survey participants).
This functionality allows you to manage the LimeSurvey invitations system. You can send invitations or reminders to those participants that are displayed in your [[Survey participants#Display participants|survey participants table]]. An [[Email bounce tracking system|email bounce tracking system]] can be used in order to help you track down and mark the emails that were not delivered to the recipients (survey participants).




===Send email invitation===
===Send email invitation=== <!--T:208-->


<!--T:209-->
You can send through this option email invitations in bulk to all the respondents from the survey participants table who have not been already sent an invitation.
You can send through this option email invitations in bulk to all the respondents from the survey participants table who have not been already sent an invitation.


Line 342: Line 403:
You can skip tokens for which the email status field is different from "OK" by enabling the '''Bypass token with failing email addresses''' option.
You can skip tokens for which the email status field is different from "OK" by enabling the '''Bypass token with failing email addresses''' option.


<!--T:210-->
If you wish to overcome the [[Survey_participants#Add_participant|validity settings]] of all of your entries, enable the '''Bypass date control before sending email''' function. In this way, the LimeSurvey email function will not take into account the date/time range when a token would be allowed to be used.  
If you wish to overcome the [[Survey_participants#Add_participant|validity settings]] of all of your entries, enable the '''Bypass date control before sending email''' function. In this way, the LimeSurvey email function will not take into account the date/time range when a token would be allowed to be used.  


Line 354: Line 416:




===Send email reminder===
===Send email reminder=== <!--T:211-->


<!--T:212-->
Sends bulk email reminders to all the participants from the survey participants table who have not yet responded, but have been sent their first invitation.
Sends bulk email reminders to all the participants from the survey participants table who have not yet responded, but have been sent their first invitation.


Line 389: Line 452:




==Start bounce processing==
==Start bounce processing== <!--T:213-->


<!--T:214-->
When sending an email, the LimeSurvey email bounce tracking system automatically adds a survey-id and token-id to the mail header without the notice of the survey administrator. These "custom headers" are added to each invitation email that is sent through your LimeSurvey installation to the survey participants. When the email is bounced back, the original header along with the "Delivery notification" header is received. Then, the system checks for new emails and parses the emails that have these custom headers and mark the wrong email address in the survey participants table.
When sending an email, the LimeSurvey email bounce tracking system automatically adds a survey-id and token-id to the mail header without the notice of the survey administrator. These "custom headers" are added to each invitation email that is sent through your LimeSurvey installation to the survey participants. When the email is bounced back, the original header along with the "Delivery notification" header is received. Then, the system checks for new emails and parses the emails that have these custom headers and mark the wrong email address in the survey participants table.




===Bounce settings===
===Bounce settings=== <!--T:215-->


<!--T:216-->
The following options are available:
The following options are available:




<!--T:217-->
<center>[[File:surveyBounseSettings.png]]</center>
<center>[[File:surveyBounseSettings.png]]</center>




<!--T:218-->
For a short description of each field, check [[Global settings#Bounce settings|the following wiki section]]. If you wish to use the LimeSurvey installation global settings, go to the '''Used bounce settings''' and select the ''Use global settings'' option.  
For a short description of each field, check [[Global settings#Bounce settings|the following wiki section]]. If you wish to use the LimeSurvey installation global settings, go to the '''Used bounce settings''' and select the ''Use global settings'' option.  


<!--T:219-->
{{Note|For more in-depth explanations, check our wiki on [[Email bounce tracking system|email bounce tracking system]].}}
{{Note|For more in-depth explanations, check our wiki on [[Email bounce tracking system|email bounce tracking system]].}}


Line 410: Line 478:




==Edit email templates==
==Edit email templates== <!--T:220-->


<!--T:221-->
To find out more about what placeholders you can use or how you can edit the LimeSurvey email templates, read our wiki section on [[Email templates|email templates]].
To find out more about what placeholders you can use or how you can edit the LimeSurvey email templates, read our wiki section on [[Email templates|email templates]].




==Generate tokens==
==Generate tokens== <!--T:222-->


<!--T:223-->
With the help of this function, unique tokens can be created for all the individual entries from the survey participants table that have not yet received a token code:
With the help of this function, unique tokens can be created for all the individual entries from the survey participants table that have not yet received a token code:




<!--T:224-->
<center>[[File:Survey participants - Generate tokens.png]]</center>
<center>[[File:Survey participants - Generate tokens.png]]</center>




==View in CPDB==
==View in CPDB== <!--T:225-->


<!--T:226-->
The last option located on the tokens management toolbar is the '''View in CPDB''' option. This allows the survey administrator to see the common users that exist in both central participants database and survey participants list.
The last option located on the tokens management toolbar is the '''View in CPDB''' option. This allows the survey administrator to see the common users that exist in both central participants database and survey participants list.


<!--T:227-->
For example, we have the following survey participants list:
For example, we have the following survey participants list:


<!--T:228-->
<center>[[File:Survey participants list - view in cpdb.png]]</center>
<center>[[File:Survey participants list - view in cpdb.png]]</center>


<!--T:229-->
The users with ID 1 and 2 have been shared from the central participants database. To check this, go to the tokens management toolbar and click on '''View in CPDB'''
The users with ID 1 and 2 have been shared from the central participants database. To check this, go to the tokens management toolbar and click on '''View in CPDB'''


<!--T:230-->
<center>[[File:View in CPDB - filters.png]]</center>
<center>[[File:View in CPDB - filters.png]]</center>


<!--T:231-->
As you can see, the '''View in CPDB''' function basically applies a filter in order to determine which users from the CPDB are present in the respective survey.
As you can see, the '''View in CPDB''' function basically applies a filter in order to determine which users from the CPDB are present in the respective survey.




=Delete table=
=Delete table= <!--T:232-->


<!--T:233-->
If you would like to delete your survey participants table, click on the '''Display participants''' button and look for the '''Delete participants table''' button located in the upper-right part of the screen.
If you would like to delete your survey participants table, click on the '''Display participants''' button and look for the '''Delete participants table''' button located in the upper-right part of the screen.




<!--T:234-->
<center>[[File:Delete survey participants table.png]]</center>
<center>[[File:Delete survey participants table.png]]</center>




<!--T:235-->
A window will pop up, asking for the final confirmation:
A window will pop up, asking for the final confirmation:




<!--T:236-->
<center>[[File:Confirmation - delete survey participants table.png]]</center>
<center>[[File:Confirmation - delete survey participants table.png]]</center>




<!--T:237-->
Please note that this will not delete the table from your LimeSurvey installation. A backup will be created. In order to access it, you need system administrator rights.  
Please note that this will not delete the table from your LimeSurvey installation. A backup will be created. In order to access it, you need system administrator rights.  


<!--T:238-->
If you do wish to completely remove it, use the [[Check data integrity|check data integrity]] option that is located in the '''Configuration''' dialog.
If you do wish to completely remove it, use the [[Check data integrity|check data integrity]] option that is located in the '''Configuration''' dialog.


Line 459: Line 542:
=Additional hints & tips= <!--T:131-->
=Additional hints & tips= <!--T:131-->


<!--T:239-->
Feel free to add any hints and tips below. The ones below were posted by the members of our community:
Feel free to add any hints and tips below. The ones below were posted by the members of our community:
*[[Survey participants#Allowing public registration|Allowing public registration]]
*[[Survey participants#Allowing public registration|Allowing public registration]]
Line 472: Line 556:
You may want to open your survey to the public, but utilize the sort of respondent control available when using tokens. To do this, if you initialize your survey participants table and choose to [[Participant tokens|allow public registration]] in the main survey setup (this setting can be later changed from the [[Participant tokens|participant tokens]] section that is located in the settings menu of the survey), people who visit your survey's URL without a token will be given the opportunity to register.  
You may want to open your survey to the public, but utilize the sort of respondent control available when using tokens. To do this, if you initialize your survey participants table and choose to [[Participant tokens|allow public registration]] in the main survey setup (this setting can be later changed from the [[Participant tokens|participant tokens]] section that is located in the settings menu of the survey), people who visit your survey's URL without a token will be given the opportunity to register.  


<!--T:240-->
If they provide an email address that is not already in the current database, an entry in the survey participants table will be created and they will be emailed an invitation containing their unique token code. All tokens provided to "registering" visitors will begin with the letter "'''R'''".
If they provide an email address that is not already in the current database, an entry in the survey participants table will be created and they will be emailed an invitation containing their unique token code. All tokens provided to "registering" visitors will begin with the letter "'''R'''".


Line 486: Line 571:
The answer to this question is '''yes'''. Tokens can be used both for anonymous and non-anonymous surveys. This is determined when creating a survey. If a survey is not anonymous (or 'tracked') then the token list can be used to find the responses that an individual has made to the survey. If the survey is anonymous, then no link (technically: foreign key relationship) is available between the respondents from the survey participants table and their corresponding answers.
The answer to this question is '''yes'''. Tokens can be used both for anonymous and non-anonymous surveys. This is determined when creating a survey. If a survey is not anonymous (or 'tracked') then the token list can be used to find the responses that an individual has made to the survey. If the survey is anonymous, then no link (technically: foreign key relationship) is available between the respondents from the survey participants table and their corresponding answers.


<!--T:241-->
To enable or disable anonymized responses, check the [[Participant tokens|participant tokens]] wiki section.
To enable or disable anonymized responses, check the [[Participant tokens|participant tokens]] wiki section.


Line 498: Line 584:




==Spam problems==
==Spam problems== <!--T:242-->


<!--T:108-->
<!--T:108-->
Line 526: Line 612:
</syntaxhighlight>
</syntaxhighlight>


<!--T:243-->
<div class="simplebox">[[File:help.png]]For more details on how to edit the configuration file of your LimeSurvey installation, read our wiki on [[Optional settings|LimeSurvey optional settings]].</div>
<div class="simplebox">[[File:help.png]]For more details on how to edit the configuration file of your LimeSurvey installation, read our wiki on [[Optional settings|LimeSurvey optional settings]].</div>



Revision as of 19:07, 2 February 2018

The words token and survey participant are used interchangeably in this wiki section.


Introduction

On many occasions you will want to invite a group of people to participate in your survey, keep track of who has completed the survey, and ensure that each person can only participate once. The tokens feature allows you to do the following:

  • Import a list of names and email addresses for participants from a CSV file or a LDAP query;
  • Generate a unique token code for each participant (invitation code);
  • Send an email invitation to each person in your list (by group or individually);
  • Send a reminder email to each person in your list who has not yet responded (by group or individually);
  • Track who has responded from your survey participants list;
  • Restrict access against people who have not got a token, and those with a token who have already responded;
  • Edit/change any details in your list;
  • Create email templates for invitations & reminders.

Once the survey is switched to Closed-access mode (you need to enable tokens for the respective survey), only the people that provide a unique token code (that has not been already used) can access the survey.

If you enable the Allow public registration option from the Participant tokens panel, the survey participants will be able to register for your survey by receiving an automatically generated token code.

Some tokens-related settings are stored in the participant tokens panel.

How to create a survey participants table?

To activate the tokens functionality of LimeSurvey, access the survey and click on the Survey Participants button from the Settings menu. You will be prompted by the following message:



If you initialize a participant table, the survey will be accessible only to those users that provide in the survey registration process a token code (either manually or by URL). In this way, the survey will be switched to the closed-access mode.

Once initialized, a window will load up with the confirmation of the participant/token table creation.

Reactivate a token table

When you delete a survey participants table, a backup is created. It can be later reactivated if you wish to use that specific survey participants table in another survey:



The token management tools

A survey participant summary will load up if the token/participant table was previously created. This is the default screen:



  • Total records: The number of survey participants from the survey participants table;
  • Total with no unique token: It displays the number of users without an assigned token code;
  • Total invitations sent: It shows the number of invitations that have been sent to your survey participants from the Survey participants table by using the Invitations option from the Invitations & reminders menu;
  • Total opted out: It displays the total number of survey participants that have decided to opt out from the survey;
  • Total screened out:
  • Total surveys completed: It shows the number of the surveys that have been completed by those users who have been allocated a token code.

Above the Survey participant summary table, you may find the token management tools:



  • Display participants: If clicked, a survey participants table with all the current participants will load up. From the browse screen you can edit or delete individual entries from the table as well as perform a number of other useful functions (see the Display participants wiki section below for more details);
  • Create...: This option allows the survey administrator to add respondents into the survey participants table either via the Add participant option or via the Import participants function;
  • Manage attributes: It allows the survey administrator to add additional fields to the survey participants table to store custom participant data;
  • Export: If you wish to export the token tables and use them in other surveys, use this function. The file will be saved in the .CSV format;
  • Survey participants: Use this option in order to quickly invite or remind your participants from the survey participants table to fill out your online survey;
  • Generate tokens: It is a LimeSurvey functionality that allows the survey adminstrator to quickly allocate a random unique token code to each user from the survey participants table that does not have one;
  • View in CPDB: It's a button that offers quick access to your LimeSurvey installation central participant database (CPDB). You can allocate from there CPDB users as survey participants to any survey you wish.


Display participants

It shows the entries list from the survey participants table. It allows the user to:



Sort the survey participants

The second row of the table includes various criteria that can help the survey administrator sort the entries. If you click on any of the columns/criteria from the table, the screen will be refreshed, showing the tokens ordered in accordance to the criterion you just clicked on. Click twice on it to get the results displayed in a descending order.



Filter the survey participants

If you wish to filter the survey participants, choose the column according to which you want to filter the participant. Type in below the first row the values/strings according to which the filtering should be done:



For example, type in the email status field "OK" in order to let LimeSurvey return only those users that use a good email address.

Hint: You can also use operators when filtering the survey participants (eg: >, <, >=, <=, = ).

Perform a specific action to an individual entry

The second column is the Action column where you can find all the actions that are available for each individual entry from the survey participants table. The possible actions that can be performed are:



  • View response details: If the survey is a "tracked" (ie: not anonymous) survey, another button will appear, allowing you to view the response from this individual entry;
  • Launch the survey with this token: It is used if you wish to execute a survey by using the generated token code;
  • Send email invitation: Use this option to send an email invitation to the respective user to complete the survey;
  • Edit the survey participant: Click on this button if you would like to change some survey participant data;
  • Delete survey participant: Click on this button if you want to delete that particular entry;
  • View this person in the central participants database: An icon will be displayed if the respective entry can also be found in the central participants database.


Perform a specific actions to more than one entry

On the bottom-left part of the table, you may find the Selected participant(s)... button that allows you to perform certain actions at a macro level:



  • Send email invitations: Send email invitations to the selected survey participants;
  • Send email reminder: Send email reminders to the selected survey participants;
  • Add participants to central database: In the case in which you would like to use some of the token entries into another survey, add the selected participants to the central participants database. From there, you have the option to add the participants to any survey you wish. For more details, continue reading the Share this participant wiki page.
Before executing any of the functions mentioned above, do not forget to select the survey participants upon which the action will be performed.


Create...

To have more participants listed in the survey participants table, you can either add new ones or import them from a CSV file or LDAP query.



Add participant

A typical token entry contains the following fields:



  • ID: It represents an integer that is automatically assigned to each survey participant;
  • Completed?: It is disabled by default. If enabled, it would contain the date when the survey was completed. No invitations or reminders will be sent to the respective users if this is enabled. It gets automatically enabled if the respective survey participant completed the survey by using his or her assigned token code;
  • First name: The first name of the survey participant;
  • Last name: The last name of the survey participant;
  • Token: This is the invitation code. It can be manually or automatically generated (via the Generate tokens button);
  • Language: You can select here the default language of the survey for the respective participant;
  • Email: the email address of the participant;
  • Email status: This field helps you track the bad email addresses. For instance, if the survey administrator received email error notifications from this email, then he can set this field to anything other than "OK" (for instance "user unknown" or "mailbox quota exceeded"). Marking this field with an email status other than "OK" will help skip this entry when sending invitation or reminder emails. Note that this is completely manual, unless you decide to implement a script which updates this field automatically;
  • Invitation sent?: If enabled, it would contain the date when the invitation email was sent;
  • Reminder sent?: If enabled. it would contain the date when the reminder email was sent;
  • Uses left: A counter of number of times the token can be used. Note: When increasing this value (default = 1) for a user who has already filled out the survey (which sets uses left to 0), you also have to switch the Completed field from "Yes" to "No";
  • Valid from: & Until: You can set a date/time range when this token would be allowed to use. You can leave these empty if you don't want to limit participation time frame for certain users. If the user is answering the survey and the participation time ends then the user is locked out immediately and won't be able to finish the survey.

Note that the Add survey participant panel is made of two tabs: the General tab and the Additional attributes tab. The additional attributes tab offers you access to your custom attributes - read the following wiki section for more details.

Create dummy participants

A dummy participant can be used when you do not want to send emails with the token code to each participant, but to give him or her the token code by other means. For example, students receive during class evaluations a paper with an invitation code to be introduced at the beginning of the online survey. In this way, the likelihood to receive more responses and feedback increases.

If you click on the button, the following page will load up:



The Number of participants field allows you to introduce a number of dummy variables you wish to add to your survey participants table. The explanation of the other fields can be found in the Add participant wiki subsection.

After completing the fields, press the Save button located in the upper-right part of the screen to save the dummy variables.

To check whether they were added or not, visit again the Survey participants table:



Import participants from a CSV file

The import function permits you to import information from a CSV file or LDAP query.



  • Choose the CSV file to upload: Pick the CSV file you wish to import. To eliminate any possible errors, it is recommended to import a standard CSV (comma delimited) file with optional double quotes around values (default for OpenOffice and Excel).

The first line must contain the field names. It must also contain the following fields: firstname, lastname, email.

They have to contain at least one character. Simply adding double quotes and no characters between them will not work!

The other fields are optional: emailstatus, token, language, validfrom, validuntil, attribute_1, attribute_2, attribute_3, usesleft, ... .

 Hint: To obtain a full list of token field names, export an existing token table.


 Hint: The date format for the "validfrom" and "validuntil" fields in the CSV token inport file is "YYYY-MM-DD HH:MM".


  • Character set of the file: Select the option that fits the characters used in the CSV file;
  • Separator used: You can let LimeSurvey automatically discover the used separator in your CSV or select either the comma separator or the semicolon one;
  • Filter blank email addresses: If enabled, the survey participants without an email addresses will not be imported into your survey participants table;
  • Allow invalid email addresses: If disabled, this function will look into the email addresses fields and check whether the addresses have the structure of an email or not (e.g.: a@a.net);
  • Display attribute warnings: If enabled, after the importing process warnings will be displayed in the case in which something is wrong with the fields. For example. you might get an attribute warning if nothing is provided in any of the mandatory fields or if an email is wrongly introduced in the CSV file.
  • Filter duplicate records: If enabled, you can set which fields are used to identify duplicates. By default First name, Last name & Email-address are preselected. If a duplicate is found while importing, the related line is omitted.
  • Duplicates are determined by: Select the fields according to which you would like to see the filtering process happening.

You can also import customized attributes when importing a CSV file. You will just have to define what attributes will be added. You can do it like this:

   email,attribute_1 <Casenr>, token, attribute_2 <Title>, attribute_3 <destination>, lastname,firstname,attribute_4 <Sender>

Once you are done choosing the desired importing settings, do not forget to click on the Upload button.


Troubleshooting the token import

A common error when users try to import tokens is an invalid CSV file. This is often caused by Microsoft Excel. Many users have a list of email addresses saved as an XLS document. A file can be saved as CSV in Excel, however, depending on the locale of the OS, Microsoft Excel may use semi-colon (;) as comma separator, while a standard CSV file uses comma (,) as separator. If you do not know which one you use, open the file with a standard text editor and check what separator was used.

Recommended free raw text editors are: PSPad, NotePad2 or Notepad++ for Windows, and TextWrangler for Macintosh.

LimeSurvey should also detect semicolons as separators. However, in the case in which the import process is not properly working, replace the semicolons with commas. Double quotes should also be added around values.


Import participants from a LDAP query

  Attention : This option is recommended only to those users with advanced knowledge in LDAP queries.


This import function allows you to import information from an LDAP query (tested on openLdap, but should work in any LDAP compliant directory including ActiveDirectory). Once accessed, the following options are available:

  • Queries are manually defined by the system administrator in the config-ldap.php file;
  • Duplicates are identified by First Name, Last Name & Email-Address. If a duplicate is found while importing, the related line is omitted (unless you have unchecked the Filter Duplicates checkbox).
For more details about the LDAP settings in LimeSurvey, read the following wiki page.


Manage attributes

This option allows you to add/edit the additional fields of your survey participantst table. The extra fields are used to store custom survey participants data:



Type in the number of new attribute fields you wish to add to your survey participants table. Click on the Add fields button. The following page will load up:



The attribute fields table contain the following fields:

  • Attribute field: the value that will be typed in here can be used when you wish to do different operations with the respective custom attribute field such as: applying conditions based on attribute fields or when exporting results for non-anonymous surveys;
  • Field description: Used to replace the attribute field name. By giving a custom name to each attribute field, they will look nicer in the administration panel, when you browse tokens, when creating conditions based on attribute fields or when you export results for non-anonymous surveys;
  • Mandatory?: If enabled, the respective attribute field will have to be filled in by the survey administrator. Otherwise, the respondent cannot be registered into the survey participants table;
  • Show during registration?: If the survey participants have to register before completing a survey, certain details will be requested from them. If disabled, the respective attribute field won't appear in the survey registration page;
  • Field caption: Use this fields to add further explanations about the role/usage of the respective attribute field.
  • CPDB mapping:; Maps the attribute in order to connect it to its correspondent attribute from the central participants database;
  • Example data: It contains string examples from different fields. For example, if you wish to ask for the gender of the survey participant, then you will observe in the Example data field examples such as male, female, no answer etc.

Once you finish filling in the boxes, do not forget to click on the Save button that is located in the bottom-left part of the screen.

Detailed instructions on how to add additional attribute fields and use conditions based on these values can be found on this blog post: "Conditions based on token attributes".

To add more fields, go to the bottom of the page, and type in the Number of attribute fields to add box the desired number and click on the Add fields button.

If you wish to delete a custom attribute, go to the bottom of the page and select from the drop-down list situated under the Delete this attribute field the attribute you wish to delete. Once selected, click on Delete attribute and confirm the deletion.


Export

If you wish to export a survey participants table, click on the "Export" button located on the token management tools toolbar. Before exporting the survey participants list, select the desired export options:



  • Survey status:
    • All tokens: It exports all the survey participants from the survey participants table;
    • Completed: It exports only those survey participants that completed the survey;
    • Not completed: It exports the survey participants that have not yet completed the survey;
    • Not started: It exports the survey participants that have not yet started the survey;
    • Started but not yet completed: It exports the survey participants that have already started the survey, but did not complete it.
  • Invitation status: It helps export the users according to the invitation status: all, invited, and not invited;
  • Reminder status: It helps export the users according to the reminder status: all, Reminder(s) sent, No reminder(s) sent;
  • Filter by language: When you create a survey, you can add additional languages beside the base language. Those additional languages can be used to export tokens according to the language they are assigned to;
  • Filter by email address: It exports entries which contain the string in the respective email address. For example, you can use it if some of your survey participants use the work email addresses from "Company A". Type @companya.com and export only the users that have received a work email address from the respective company;
  • Delete exported participants: If enabled, the exported users will be deleted from your survey participants table.

Once you have selected the exporting options, click on the Download CSV file button located in the upper right part of the screen.

When you export your tokens, the fields are exported in the following order:

tid,firstname,lastname,email,emailstatus,token,language code,attribute_1,attribute_2,...

Invitations & reminders

This functionality allows you to manage the LimeSurvey invitations system. You can send invitations or reminders to those participants that are displayed in your survey participants table. An email bounce tracking system can be used in order to help you track down and mark the emails that were not delivered to the recipients (survey participants).


Send email invitation

You can send through this option email invitations in bulk to all the respondents from the survey participants table who have not been already sent an invitation.



You can skip tokens for which the email status field is different from "OK" by enabling the Bypass token with failing email addresses option.

If you wish to overcome the validity settings of all of your entries, enable the Bypass date control before sending email function. In this way, the LimeSurvey email function will not take into account the date/time range when a token would be allowed to be used.


Resending invitations

Sometimes you might want to send invitations again to certain token entries/survey participants. When you use the send invitations function, only email addresses that has not previously received an invitation will get one. This means that if you add new addresses to the token list after the first time you sent invitations, only these new addresses will receive an invitation the second time you send invitations.

This means that you can also edit an email in a particular token entry from where you got a bounce from and then send to only this edited address. Just turn off the Invitation sent field and then click send invitations again.


Send email reminder

Sends bulk email reminders to all the participants from the survey participants table who have not yet responded, but have been sent their first invitation.



When sending reminders you can:

  • Bypass tokens with failing email addresses: those entries with a failing email address will be skipped - they won't receive any email;
  • Min days between reminders: skip tokens for which a reminder has been "recently" sent;
  • Max reminders:skip tokens for which a given number of reminders have already been sent;
  • Bypass date control before sending email: skip those entries that are not in the time-frame within which they can be used.
Note: A reminder will be sent only to those participants where the "Completed" field is turned off (this means the respondent has either not taken or completed the survey).


Sending emails by batch

When you have to send a lot of emails at the same time, LimeSurvey will only send a first batch of N emails (this threshold is set by the administrator from the email settings, located in the global settings of your LimeSurvey installation).


Confirmation email

If you are using tokens and a participant fills out the survey, a confirmation email is sent to his/her email address.

If you don't want this message to be sent, just deactivate this functionality from the general settings of your survey.


Start bounce processing

When sending an email, the LimeSurvey email bounce tracking system automatically adds a survey-id and token-id to the mail header without the notice of the survey administrator. These "custom headers" are added to each invitation email that is sent through your LimeSurvey installation to the survey participants. When the email is bounced back, the original header along with the "Delivery notification" header is received. Then, the system checks for new emails and parses the emails that have these custom headers and mark the wrong email address in the survey participants table.


Bounce settings

The following options are available:



For a short description of each field, check the following wiki section. If you wish to use the LimeSurvey installation global settings, go to the Used bounce settings and select the Use global settings option.

For more in-depth explanations, check our wiki on email bounce tracking system.

Click on the following link for more information on how to correctly configure this feature.


Edit email templates

To find out more about what placeholders you can use or how you can edit the LimeSurvey email templates, read our wiki section on email templates.


Generate tokens

With the help of this function, unique tokens can be created for all the individual entries from the survey participants table that have not yet received a token code:



View in CPDB

The last option located on the tokens management toolbar is the View in CPDB option. This allows the survey administrator to see the common users that exist in both central participants database and survey participants list.

For example, we have the following survey participants list:

The users with ID 1 and 2 have been shared from the central participants database. To check this, go to the tokens management toolbar and click on View in CPDB

As you can see, the View in CPDB function basically applies a filter in order to determine which users from the CPDB are present in the respective survey.


Delete table

If you would like to delete your survey participants table, click on the Display participants button and look for the Delete participants table button located in the upper-right part of the screen.



A window will pop up, asking for the final confirmation:



Please note that this will not delete the table from your LimeSurvey installation. A backup will be created. In order to access it, you need system administrator rights.

If you do wish to completely remove it, use the check data integrity option that is located in the Configuration dialog.


Additional hints & tips

Feel free to add any hints and tips below. The ones below were posted by the members of our community:


Allowing public registration

You may want to open your survey to the public, but utilize the sort of respondent control available when using tokens. To do this, if you initialize your survey participants table and choose to allow public registration in the main survey setup (this setting can be later changed from the participant tokens section that is located in the settings menu of the survey), people who visit your survey's URL without a token will be given the opportunity to register.

If they provide an email address that is not already in the current database, an entry in the survey participants table will be created and they will be emailed an invitation containing their unique token code. All tokens provided to "registering" visitors will begin with the letter "R".


Captchas in public registration

To protect your survey from robot registrations, a CAPTCHA feature can be activated for all the registrations, save, and load forms. For more details, read our wiki on participant tokens.


Can a survey using tokens ensure anonymous responses?

The answer to this question is yes. Tokens can be used both for anonymous and non-anonymous surveys. This is determined when creating a survey. If a survey is not anonymous (or 'tracked') then the token list can be used to find the responses that an individual has made to the survey. If the survey is anonymous, then no link (technically: foreign key relationship) is available between the respondents from the survey participants table and their corresponding answers.

To enable or disable anonymized responses, check the participant tokens wiki section.


A tip for generating a large number of fake e-mail addresses

Sometimes you may need a large number of fake e-mail addresses and tokens. You can use functions in a spreadsheet (e.g. OpenOffice Calc) to generate them. Let's assume you want thousands addresses in a form: 1@test.com, 2@test.com, 3@test.com, and so on. Type "1" in A1. Insert function =A1+1 in A2, then copy A2 down as many times as you need so that you obtain a list of consecutive numbers. In B1 use the concatenation function to join A1 and "@test.com", which is =CONCATENATE(A1;"@test.com"). Then copy B1 down so that each A cell has a correspondent (you can also generate similarly fake names). Finally, save the file as CSV in order to import it to LimeSurvey.

With the launch of LimeSurvey 1.91, you can use the "Generate dummy token" functionality. However, the dummy entries do not contain any email address.


Spam problems

Users often complain about not receiving invitations or reminder emails because the their email spam filters treated the message from LimeSurvey as spam.

The fact that an email is treated as spam depends mostly on the spam filter being used and its settings. A spam filter usually checks the sender address, and the email subject and content. Changing its settings could solve the way in which the users' email providers treat the messages from LimeSurvey.

Some possible issues and solutions are listed in the following limesurvey-consulting.com blog post.

LimeSurvey automatically tries to determine the URL for the invitation link by looking at the URL by which you logged in to the LimeSurvey administration. However with some server (mis-)configurations this might not work properly and you will have to set this manually.

You can edit "application/config/config.php" to change the default base URL value. Add a hostInfo property like this to the existing 'components' array.

    'components' => array(
       ...
       'config' => array(
           .......
           'publicurl' => 'http://www.example.com',
           ........
       ),
   )
For more details on how to edit the configuration file of your LimeSurvey installation, read our wiki on LimeSurvey optional settings.

Regarding the source of the problem, LimeSurvey tried to determine the domain from the server PHP variable: $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'].

Some web server softwares do not properly seem to provide this information or are mis-configured.