x

Main chapters

  1. Get started
  2. Workspace
  3. Editor
  4. Question types
  5. Share
  6. Results
  7. Configuration
  8. Installation and updates
  9. Profile and personal settings
  10. Account and billing
  11. FAQs
  12. Development
 Actions

Survey participants

From LimeSurvey Manual

Introduction

The participant list holds the people you invite to your survey: a name, an email address and a personal access code for each. Older versions of LimeSurvey call access codes "tokens" and the participant list "survey participants table". With the participant list you can:

  • Add participants one by one, or import them from a CSV file or an LDAP query;
  • Generate a unique access code for each participant;
  • Send an email invitation to each person on your list (to all of them or to selected participants);
  • Send a reminder email to each person on your list who has not completed the survey yet;
  • Track who has completed the survey;
  • Let only people with a valid access code take the survey, each as often as their code allows;
  • Edit or delete the details of your participants;
  • Edit the email templates for invitations and reminders.

Who can take the survey is set by the access mode. With Link with access code, only people with a valid access code from the participant list can take the survey. With Anyone with link, everyone with the survey link can take it, and participants from the list can still use their personal link, so their responses belong to them. In the new editor, you set the access mode on the Share page. In the classic editor, use Access mode in the Share survey box of the survey overview. See Access mode: choose who can take your survey.

If you switch on Allow public registration, people who open the survey without an access code can register with their name and email address. They get their access code by email.

Some settings for participants, such as the access code length, are in the participant settings.
The Survey participants page and its sub-pages don't save automatically. Save each change with its own Save button.

Open the participant list

In the new editor, click Share in the top bar. Then click Participant lists in the left panel (1) or Create participant list on the Participant lists card (2). The Survey participants page opens.

Sharing overview with numbered markers on Participant lists in the left panel and the Participant lists card

In the classic editor, open the Settings tab on the left and click Participants under Survey menu:


Classic editor Settings tab with Participants highlighted under Survey menu


A survey without participants shows an empty list. The participant list is created as soon as you add or import the first participants. The Add participants button below the empty list opens the Add survey participant page:


Empty Survey participants page with the Summary, the participant table and the Add participants button highlighted


Creating the participant list doesn't change the access mode. To let only the people on your list take the survey, set the access mode to Link with access code.


Restore a deleted participant list

When you delete a participant list, or deactivate the survey, LimeSurvey archives the participant list. As long as the survey has no participants, the bottom of the Survey participants page shows Restore options: select the archived list and click Restore. Start from scratch creates a new, empty participant list instead.


Restore options with an archived participant list and the Restore and Start from scratch buttons

The Survey participants page

Survey participants page with numbered markers on Add..., Manage attributes, Invite & remind, Generate access codes, Summary, the participant rows and the ... menu
Survey participants page with numbered markers on Add..., Manage attributes, Invite & remind, Generate access codes, Summary, the participant rows and the ... menu
  1. Add...: add one participant, create dummy participants, or import participants.
  2. Manage attributes: extra fields for each participant.
  3. Invite & remind: send invitations and reminders, edit the email templates and set up bounce processing.
  4. Generate access codes: give every participant without an access code a new one.
  5. Summary: how many participants there are, how many were invited, are missing an access code, opted out, were screened out and completed the survey.
  6. The participants, with email status, access code, language, invitation and reminder status and Uses left.
  7. The ... menu of a participant, for example Launch the survey with this participant, Send email invitation, Edit this survey participant and Delete survey participant.

The Summary at the top of the page counts your participants:


Summary of the participant list with Total, Having an invitation sent, Missing an access code, Opted out, Screened out and Completed


  • Total: The number of participants in the participant list;
  • Having an invitation sent: The number of participants who were sent an invitation, with Invite & remind or from the participant list;
  • Missing an access code: The number of participants without an access code;
  • Opted out: The number of participants who opted out of the survey;
  • Screened out: The number of participants who were screened out, because they didn't match certain criteria, for example a quota;
  • Completed: The number of participants who completed the survey with their access code.


Above the Summary, you find the tools to manage the participant list:


Participant list toolbar with Add..., Manage attributes, Export, Invite & remind, Generate access codes and View in CPDB


  • Add...: Adds participants one by one (Add participant), creates dummy participants, or imports participants;
  • Manage attributes: Adds extra fields to the participant list to store custom participant data;
  • Export: Exports the participant list as a CSV file, for example to use it in other surveys;
  • Invite & remind: Sends invitations and reminders, opens the email templates and the bounce settings;
  • Generate access codes: Gives a random unique access code to each participant who doesn't have one;
  • View in CPDB: Shows the participants of this survey in the central participant database (CPDB). From there you can add CPDB participants to any survey.

The list itself is shown below the summary, under All participants.


Display participants

The list under All participants shows the entries of the participant list and allows you to:


Participant list table with columns such as Email status, Access code, Invitation sent?, Reminder sent? and Action

The columns Invitation sent?, Reminder sent?, Reminder count and Completed? show where each participant stands. If the list is wider than the screen, scroll it sideways to see all columns.


Sort survey participants

Click a column heading to sort the participants by this column. Click it again to sort in descending order.


Participant list table with the sortable column headings highlighted


Filter survey participants

To filter the participants, type the values you want to filter on in the empty box below the column heading.


Participant list table with the filter boxes below the column headings highlighted


For example, type "OK" in the email status field to show only the participants with a valid email address.

Hint: You can also use operators when filtering the participants (e.g.,: >, <, >=, <=, = ).
  Attention : To filter "invitation sent", "reminder sent", and "survey completed" columns, use "=N" or "<>N", meaning "equal No" and "not equal No", respectively.


Perform a specific action to an individual entry

Click ... in the Action column of a participant to see the actions for this participant:


Participant list with the ... menu of a participant open, showing actions such as Preview the survey with this participant and Send email invitation


  • View response details: Shows the response of this participant. It is available if the survey is not anonymous and the participant has a response;
  • Preview the survey with this participant: Opens a preview of the survey with the access code of this participant;
  • Launch the survey with this participant: Opens the active survey with the access code of this participant;
  • Send email invitation: Sends an email invitation to this participant;
  • Send email reminder: Sends an email reminder to this participant;
  • Edit this survey participant: Changes the data of this participant;
  • Delete survey participant: Deletes this participant;
  • View this participant in the central participants database: Available if the participant is also in the central participant database.

Perform a specific action to more than one entry

Select participants with the checkboxes in the first column (1). A bar opens below the list:


Participant list with one participant selected and numbered markers on the checkbox, Batch-edit, Send email, Add to central participants database and Delete


  • Batch-edit (2): Changes fields for all selected participants at once. Tick the box next to each field to change, for example Uses left, Valid from and Until, Language or Invitation sent?, set the new value and click Save;
  • Send email (3): Sends the selected participants an email invitation or an email reminder;
  • Add to central participants database (4): To use some of the participants in another survey, add them to the central participant database. From there, you can add them to any survey. For more details, see Share this participant;
  • Delete (5): Deletes the selected participants. LimeSurvey asks for confirmation first.

Add...

To add participants to the list, click Add.... You can add participants one by one, create dummy participants, or import participants from a CSV file or an LDAP query.


Survey participants toolbar with the Add... menu open: Add participant, Create dummy participants and CSV file


Add participant

Click Add... and then Add participant. The page Add survey participant opens:


Add survey participant page with numbered markers on First name and Last name, Access code, Email, Uses left, Valid from and Until, and Save and close
  1. Enter First name and Last name (1).
  2. Leave Access code empty (2). You can create the access codes for all participants at once later with Generate access codes.
  3. Enter Email (3).
  4. Optional: change Uses left (4) and set Valid from and Until (5).
  5. Click Save and close (6).

The page has the following fields:

  • ID: An integer that is automatically assigned to each participant;
  • Completed?: Shows whether the participant completed the survey (date and time). No invitations or reminders are sent to participants who completed the survey. It is set automatically when the participant submits the survey with their access code and has no uses left after this submission (see Uses left below);
  • First name: The first name of the participant;
  • Last name: The last name of the participant;
  • Access code: The personal code of the participant. You can enter it yourself or generate it with Generate access codes;
  • Language: The language of the survey and the emails for this participant;
  • Email: The email address of the participant;
  • Email status: This field helps you track invalid email addresses. Participants whose email status is not "OK" (for instance "bounced" or "OptOut") are skipped when you send invitations or reminders with Bypass participants with failing email addresses on. You can change it by hand, and the email bounce tracking system sets it automatically;
  • Invitation sent?: If set, contains the date when the invitation email was sent;
  • Reminder sent?: If set, contains the date when the reminder email was sent;
  • Uses left: How many times the participant can still submit the survey with their access code (default: 1). Each submission reduces the value by 1 and is saved as a separate response. Opening, leaving or resuming the survey does not change it. Completed? is only set with the last use: for example, with a value of 3, the first two submissions only reduce Uses left, and Completed? stays empty. Note: When you increase this value for a participant who has already completed the survey (which sets uses left to 0), also set Completed? to No. If Allow multiple responses with the same access code is on, this value is ignored;
  • Valid from: & Until: You can set a date/time range for when this access code can be used. Leave these empty if you don't want to limit the participation time frame. If the participant is answering the survey and the participation time ends, the participant is locked out immediately and can't finish the survey.

If your participant list has attributes, the page has two tabs: General with the fields above and Additional attributes with your custom attributes.


Create dummy participants

Dummy participants are useful when you don't want to send access codes by email, but hand them out by other means. For example, students doing class evaluations could get a paper with an access code to enter at the beginning of the online survey.

Click Add... and then Create dummy participants. The following page is displayed:


Create dummy participants page with Number of participants, Access code length, name and email fields with COUNTER hints, Uses left and validity dates


Number of participants sets how many dummy participants are added to your participant list, and Access code length the length of their access codes. Name and email address are optional. The explanation of the other fields can be found in the Add participant subsection.

In the First name, Last name and Email address fields you can use the placeholder {COUNTER}, which is replaced by a number that goes up for each created participant, starting at 0. For example, user{COUNTER}@example.org creates the email addresses user0@example.org, user1@example.org, user2@example.org and so on.

After completing the fields, click Save and close in the upper-right part of the screen.


The dummy participants are added to the participant list:


Participant list with dummy participants that have only an access code and a language

Import participants from a CSV file

Click Add... and, under Import participants from:, click CSV file. The page Import survey participants from CSV file opens:


Import survey participants from CSV file page with numbered markers on Choose file, Separator used, email filters, Filter duplicate records, Duplicates are determined by and Upload
  1. Click Choose file (1) and select your file.
  2. Check Separator used (2). Automatic works for most files.
  3. Leave Filter blank email addresses on On and Allow invalid email addresses on Off (3). Rows without an email address, or with an invalid one, are not imported.
  4. Leave Filter duplicate records on On (4). Duplicates are determined by (5) lists the fields that must match for a row to count as a duplicate.
  5. Click Upload (6).


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

The first line must contain the field names, in any order. 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, ... . The field token holds the access code.


 Hint: To obtain a full list of field names, export an existing participant list. Download example CSV file at the bottom of the import page also gives you a file with the right columns.


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


  • Character set of the file: Select the option that fits the characters used in the CSV file. If letters with accents come out wrong, choose UTF-8 and import again;
  • Separator used: You can let LimeSurvey automatically discover the separator used in your CSV file (Automatic) or select Comma or Semicolon;
  • Filter blank email addresses: If on, participants without an email address are not imported;
  • Allow invalid email addresses: If off, LimeSurvey checks whether the email addresses have the structure of an email address (e.g.: a@a.net) and doesn't import the others;
  • Display attribute warnings: If on, warnings are displayed after the import in case there is something 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 incorrectly introduced in the CSV file.
  • Filter duplicate records: If on, 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. The access code is always checked for duplicates.
  • Duplicates are determined by: Select the fields that you want to filter on for duplicates.


You can also import custom attributes from a CSV file. Define the attributes in the first line, like this:


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

Please note that you need to ensure that the attributes exist in the Attributes table before the import.

Once you are done choosing the desired import settings, click the Upload button.


Troubleshooting the import of survey participants

A common error when users try to import participants 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 semicolons (;) as separator, while a standard CSV file uses commas (,) as separators. If you do not know which one you use, open the file with a standard text editor and verify which 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 case the import process is not properly working, replace the semicolons with commas. Double quotes should also be added around values.


Import participants from an LDAP query

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


This import function allows you to import participants from an LDAP query (tested on OpenLDAP, but should work in any LDAP compliant directory including Active Directory). LDAP query appears in the Add... menu only if the PHP LDAP extension is installed and LDAP queries are defined. On the Import survey participants from LDAP page you select the LDAP query to run and whether blank email addresses and duplicates are filtered.


  • Queries are manually defined by the system administrator in the configuration file application/config/ldap.php.
  • 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

Attributes are extra fields of your participant list. Use them to store custom participant data, for example a department or a customer number.

Add/delete survey participant attributes with the Number of attribute fields to add box and the Add fields button


Click Manage attributes. Under Number of attribute fields to add, type the number of new attribute fields you want to add and click the Add fields button. The new fields are listed under Manage attribute fields:


Manage attribute fields table with attribute_1 and attribute_2, their description, registration, encryption, caption, field type and CPDB mapping settings


The attribute fields table contains the following fields, with one tab for each survey language:

  • Attribute field: The name of the field (attribute_1, attribute_2...). Use it to work with the attribute, for example in conditions or when you export the responses of a survey that is not anonymous.
  • Field description: A readable name for the attribute field. It is shown in the participant list, in conditions based on attributes and in the export of responses of a survey that is not anonymous.
  • Show during registration?: If on, the field is shown on the registration page when participants register themselves for the survey.
  • Mandatory during registration?: If on, people who register themselves must fill in this field.
  • Encrypted: If on, the values of this field are stored encrypted in the database.
  • Field caption: The text shown for this field on the registration page, in each survey language.
  • Field type: Text box, Drop-down list or Date. Click the pencil button to change it; for a drop-down list you also enter the options.
  • CPDB mapping: Maps the attribute to the corresponding attribute in the central participant database.
  • Example data: Shows example values from the participant list for this field.


Once you have finished filling in the boxes, click the Save button below the table.

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, type the desired number in the Number of attribute fields to add box and click the Add fields button.

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

Export

To export the participant list, click Export in the toolbar. The page Survey participant export options opens. Before exporting the participant list, select the desired export options.


Survey participant export options with status, language and email filters, Delete exported participants, Include survey link and Quote equations


  • Survey status:
    • All participants: Exports all participants from the participant list;
    • Completed: Exports only those participants who have completed the survey;
    • Not completed: Exports participants who have not yet completed the survey;
    • Not started: Exports the participants who have not yet started the survey;
    • Started but not yet completed: Exports participants who have already started the survey, but have not completed it.
  • Invitation status: Exports participants according to the invitation status: All, Invited, and Not invited;
  • Reminder status: Exports participants according to the reminder status: All, Reminder(s) sent, No reminder(s) sent;
  • Filter by language: Exports only the participants with the selected survey language;
  • Filter by email address: Exports entries which contain the string in their email address. For example, if some of your participants use the work email addresses of "Company A", type @companya.com to export only them;
  • Delete exported participants: If on, the exported participants are deleted from your participant list. They can't be recovered, so leave it Off unless you are sure.
  • Include survey link: (New in 7.7.0 ) If enabled, the export contains an additional column surveylink with the personal survey URL of each participant, including the access code and in the participant's language. The column is empty for participants without an access code.
  • Quote equations: If enabled (default), values that start with an equal sign get a leading apostrophe ('), so that spreadsheet programs show them as text and do not run them as formulas (CSV injection).

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

When you export your participants, the fields are exported in the following order: tid,firstname,lastname,email,emailstatus,token,language,validfrom,validuntil,invited,reminded,remindercount,completed,usesleft,attribute_1,attribute_2,...

If Include survey link is enabled, the surveylink column is added at the end.

Invitations & reminders

Invite & remind sends email invitations and reminders to your participants, starts the bounce processing and opens the email templates. See Invitations and reminders.

Generate access codes

Click Generate access codes to create unique access codes for all participants in the list who don't have one yet. Confirm with Yes. LimeSurvey tells you how many codes it created. The length of the codes is set with Set access code length in the participant settings.


Create access codes confirmation with the Yes and No buttons

View in CPDB

The last option of the toolbar is View in CPDB. It shows the participants of this survey that are also in the central participant database.

In the following example, we have the following participant list:


Participant list with five participants and their email status, access code and language


The participants with ID 1 and 2 were added to the central participant database. To check this, click View in CPDB in the toolbar:


Central participant management with an arrow pointing to Remove filters next to the active filter for the survey ID


As you can see, View in CPDB applies a filter to the central participant database that shows only the participants who are also in this survey. Click Remove filters to see all participants of the central participant database.

Delete the participant list

To delete your participant list, click the red Delete participant list button in the upper-right part of the Survey participants page.


Participant list toolbar with the Delete participant list button highlighted


A page asks for the final confirmation. Click Delete table to delete the participant list.


Delete survey participant list confirmation with the backup table name and the Cancel and Delete table buttons


Deleting the participant list switches the survey back to the access mode Anyone with link, so access codes are no longer required. The list is not deleted from the database: LimeSurvey keeps a backup, and you can bring it back with the restore options.

If you do wish to completely remove it, use the check data integrity option under Configuration ⇒ Tools ⇒ Data integrity.

Additional hints & tips

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

Can a survey with access codes have anonymous responses?

Yes, access codes can be used both for anonymous and non-anonymous surveys. If a survey is not anonymous (or "tracked"), you can use the participant list to find the responses of each participant. If the survey is anonymous, there is no link (technically: no foreign key relationship) between the participants in the participant list and their responses.

To switch anonymized responses on or off, use Anonymized responses in the participant settings. See also Set up an anonymous survey.

Spam problems

Participants often don't receive invitations or reminders because their spam filters identified the message from LimeSurvey as spam.

Whether an email is treated as spam depends mostly on the spam filter and its settings. A spam filter usually checks the sender address, and the email subject and content. For ways to get your invitations delivered, see Get your invitations delivered.

LimeSurvey automatically tries to determine the URL for the invitation link by looking at the URL that you logged into the LimeSurvey administration with. 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 publicurl setting, as shown below, to the 'config' array in 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 tries to determine the domain from the server PHP variable: $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'].

Some web server software do not properly seem to provide this information or are misconfigured.

Pseudonymised participation

With dummy participants, you can create a form of pseudonymised participation: export the dummy participants with their access codes and combine them with your list of people outside of LimeSurvey. That way, LimeSurvey can be used as a survey platform without putting personal information of your participants into the system.

The only downside is that you will have to distribute the access codes yourself.

FAQ

Do I need a participant list?

Only to invite people by email, to limit the survey to known people or to track who completed it. For a public survey, share the survey link. See Share your survey link.

Can I use the same participants in several surveys?

Yes, with the central participant database. Select the participants and click Add to central participants database. From there you can add them to other surveys. See Central participant database.

My participant list is empty after I deactivated the survey. Where is it?

Deactivating the survey archives the participant list. At the bottom of the Survey participants page, under Restore options, select the archived list and click Restore. See Restore a deleted participant list.

See also