Actions

Survey settings

From LimeSurvey Manual

Revision as of 15:09, 23 May 2017 by C schmitz (talk | contribs)

Overview

Some of these settings can be set when creating a new survey. Click on the Add quick-button or choose Survey/Create a new survey from the dropdown menu on the top-right and a "Create new survey" screen will appear.

You can edit all of these settings later again by choosing your survey and clicking General settings & texts in the 'Survey properties' dropdown menu of the survey toolbar.

Settings

All survey settings and functions are organized in tabs. The following is a description of each tab and field.

General

  1. Base language: This sets the base language for the survey. Once saved, you cannot change it later. The language-set is the base language for possible translations of the survey. That way you can have multilingual surveys. During survey creation you cannot add additional languages. You will be able do that if you edit the survey properties again, later.
  2. Additional languages: To choose addintinal language. Only available when survey is created.
  3. Title: This is the brief descriptive name of the survey (ie: "Enterprise Bargaining Survey 2003", or "Views on Ice Cream"). This title will be displayed on every page of the public survey.
  4. Description: This allows you to enter a description of the survey. (ie: "A survey to collect your ideas on the next round of enterprise bargaining" or "A survey to find out the popularity of chocolate ice cream"). You can incorporate HTML elements such as images or videos in this section using the WYSIWYG editor. By default, description is used on invitation email.
  5. Welcome message: This allows you to enter a message that will display when a participant first logs into your survey. (ie: "Thank you for taking the time to participate in this survey..") You can incorporate HTML elements such as images or videos in this section using the WYSIWYG editor.Only available at survey creation. After available in Edit survey text elements
  6. End message: This allows you to enter a message that will display when a participant completes your survey. (ie: "Thank you for completing our survey. We will publish results soon."). You can incorporate HTML elements such as images or videos in this section using the WYSIWYG editor.Only available at survey creation. After available in Edit survey text elements
  7. End URL: This URL will be presented as a link at the end of the survey, and allows you to direct your participants back to your home page (or, in fact, anywhere). The End URL has to be entered with "http://" at the beginning, eg. http://www.limesurvey.org.
    You can use they placeholder {SAVEDID}, {TOKEN}, {SID} and {LANG} in this URL.
    SAVEDID is the id assigned to this particular submission, TOKEN is the token used to participate in the survey, SID is the survey ID and LANG is the language code
    eg. http://www.limesurvey.org/test.php?var1={SAVEDID}&var2;={TOKEN}&var3;={SID}⟨={LANG}
    From version 1.82+ you can use URL fields with this field to pass parameters from the start URL to then end URL.
    You can also use {INSERTANS:SGQA} in this URL (since 1.82+). This allows adding the response to a specific question in the survey to the final url. This can be useful for sending a response to an external script (ie an email address collected during the survey). eg: "http://www.limesurvey.org/test.php?email={INSERTANS:1234X56X7}".Only available at survey creation. After available in Edit survey text elements
  8. URL description: The description for the link using the End URL.Only available at survey creation. After available in Edit survey text elements
  9. Administrator: This is the name of the contact person who administers the survey. It will be included in emails sent out inviting participants to respond.
  10. Admin email: This is the email address of the administrator (as above) and is used as the 'From:' address on any emails sent.
    NOTE: many hosting providers' SMTP servers will only accept emails whose 'From:' address is on a local domain, with the added difficulty that any emails that do not conform to this rule are discarded silently, without any visible error message. If this happens to you, ensure that you are using a provider-based email address in the 'Admin email' field. You usually can, if you so desire, set up email forwarding on the provider's side, so that any messages sent there are relayed to your preferred address.
  11. Bounce email: This is the email address where a delivery error notification email should be sent. By default, this is the same as the administrator's email address. If you want to use a custom script to parse delivery error emails, then use a special Bounce Email address here and automatically process emails reaching this address with your script. This script could then update the Email Status field of the token line corresponding to this email address (see tokens).
  12. Fax to: This field is used to give a fax number on the "printable survey" - ie: when you want to send someone a hard copy because they cannot use the online survey.
Caution: the HTML WYSIWYG editor doesn't allow you to upload files during the survey creation process. Trying to do so will end up with an error message like: "This file uploader is disabled". If you need to upload pictures or any other ressources, please do so after survey creation, by editing the newly created survey.

Presentation & navigation

  1. Format: Choose from "Question by question", "Group by group" or "All in one".
    • Question by Question: Public survey will display one question per page.
    • Group by Group: Public survey will display all questions in a group per page. Group at a time surveys still have a separate "welcome" page and "submit" page, like "Question by Question" surveys.
    • All in one: Public survey will display all questions in one single page. Activated All in one surveys do not have a "welcome" page or "submit" page - the welcome message and submit button all appear on the same page.
  2. Template: Choose from the installed templates in your system. The default template is rather dull, but functional. More information on creating your own templates is available here.
  3. Show welcome screen:  Yes/No. If Yes, then the welcome message defined in Text Elements section will be displayed.    Default is Yes.
  4. Navigation delay:  Number of seconds before Previous and Next buttons are enabled.   Default 0 seconds
  5. Show [<< Prev] button: This option defaults to yes, however if you set it to "No" then users will not have the option of moving to a previous page while completing the survey.
  6. Show question index / allow jumping:  Yes/No. Default No.  When Yes, an index will be displayed on the right side.    Users can jump to any section in the survey. In 2.05 the options have changed to Disabled / Incremental / Full. Disabled and Incremental represent the current No and Yes options. Full always shows all groups / questions, this allows the user to freely navigate through the survey. This might not work for all kinds of conditions.
  7. Keyboard-less operation: By activating this setting there will be a virtual keyboard available for certain question types.
  8. Show progress bar: Yes/No.  Default Yes.   Allow the administrator to turn off the Progress bar
  9. Participants may print answers?: This option defaults to no. When it is set to yes, a participant can print a summary of responses at submit time.
  10. Public statistics: Yes/No.   Default No.   If set to "Yes" users who have submitted the survey will be presented a link to statistics of the current survey. The admin can set which questions should be included at these statistics by applying the according question attribute.
  11. Show graphs in public statistics: (since 1.80) Determines if public statistics for this survey include graphs or only show a tabular overview. Creating graphs for huge surveys with lots of answers takes some time and server resources so this is the switch to turn them on/off (default setting: off).
  12. Automatically load URL when survey complete:  Yes/No.  Default No.   If yes, when the survey is submitted, it will automatically redirect to the End URL. The end URL can be defined in the Text Elements Section. Please note that this only works on an active survey.
  13. Show "There are X questions in this survey":  Yes/No.  Default Yes.   If Yes, the message will be displayed on the Welcome Screen.    This option will not affect the print version.
  14. Show group name and/or group description:  Will control the display of Group Names and Descriptions.   This option will not affect the print version. Four Options:
    • Show Both - Default
    • Show Group Names Only
    • Show group description Only
    • Hide Both
  15. Show question number and/or code:
    • Show Both - Default
    • Show Question Number Only
    • Show Question Code Only
    • Hide Both
  16. Show "No answer": Yes/No.  Default Yes.   When Yes, the No Answer will be displayed as the default option for non-mandatory single-select questions. Be aware that if you switch this off, the participant won't be able to unselect a chosen answer option in a non-mandatory question.

Publication & access control

  1. List survey publicly: Yes/No.  Default No. When it is set to yes, your survey will be listed in the 'available surveys' portal
  2. Start date/time: Set this to some date if you want your survey to start on a certain date. The survey will start on midnight of that day and only then will people be able to answer to it. To disable this just clear the date from the input field.
  3. Expiry date/time: Set this to some date if you want your survey to expire on a special date. This is the last date on which the public survey script will let people participate. (Example: If you set it for the 31st of December, then people will no longer be able to use the survey script on the 1st of January). To disable this just clear the date from the input field.
  4. Set cookie to prevent repeated participation?: If you set this to 'Yes', and your survey does not use a tokens table to control participant access, then a cookie will be saved to the client computer of each survey participant once they have submitted a survey. This cookie will stop the same user on that computer from accessing the survey more than once. There are inherent limitations in the 'security' strength of such a system, but, in general, it allows you to retain some control over multiple entries on public surveys.
  5. Use CAPTCHA for: With this option you can decide when you want a CAPTCHA to be used. Default is to enable CAPTCHA only for the public Registration page, but you can also enable it before accessing the survey, and before Load/Saving partial answers.

Notification & data management

  1. Send basic admin notification email to: and Send detailed admin notification email to: These fields allow you to send notifications or survey responses to any email addresses once the survey is submitted. You can edit the templates for these emails under 'Email templates'. Multiple recipients can be set by separating the entries with a semicolon (;) - eg "yourname@test.com; myname@test.com;hisname@test.com" OR when using placeholders "yourname@test.com;{INSERTANS:82733X12X73};{TOKEN:EMAIL}". To sedn an email to the administrator email of the survey : you must use {ADMINEMAIL}. There are different ways for entering an address:
    1. Enter a specific email address (ie: yourname@test.com)
    2. Enter a SGQA code and the response will be sent to an email address entered as an answer to that particular question (use the format {INSERTANS:9999X88X12}, in the same way you would Re-use information from previous answers)
    3. Enter a Token code (only possible if your survey is not anonymous) and the response will be sent to an email address retrieved from a token field (use the format {TOKEN:EMAIL} or {TOKEN:ATTRIBUTE_1} in the same way you would Re-use Information from the Tokens Table)
    4. As of Version 1.92: Enter a valid expression conforming to Expression Manager syntax.  This lets you use question code instead of SGQA syntax (for easier readability), plus conditional logic (e.g. route the notifications to different people depending upon the data entered into the survey).
  2. Date stamp?: This field allows you to determine whether the survey will datestamp all responses. If you choose "Yes", then when a response is submitted, a field will be included in that response indicating the time and date that the response was made. (See configuration settings for $timeadjust setting.)
  3. Save IP address?: This field allows you to determine whether the survey will save an IP-address for all responses. If you choose "Yes", then when a response is submitted, a field will be included in that response indicating the ip-address of the participant.
  4. Save referrer URL?: This field allows you to determine whether the survey will save the referrer URL for all responses. If you choose "Yes", then when a response is submitted, a field will be included in that response where this URL is saved. A referrer URL is the URL from which the user was led to your survey URL.
  5. Enable assessment mode?: With this setting you can enable/disable assessments for this survey.
  6. Save timings: If activate then on survey activation a separate table will be created where timings for your questions will be saved, e.g. how long a user stays on one page during taking the survey.
  7. Participant may save and resume later?: This setting allows a participant to save his responses and resume to answer the survey at a later time. Please note that this makes most sense with open surveys or surveys with anonymized answer. If you are using tokens and the survey is not anonymous in most cases it is better to activate 'Token-based response persistence' in the token tab.
  8. Google Analytics Tracking ID for this survey:  Allows for integration with Google Analytics. The tracking ID can be inserted into templates using {GOOGLE_ANALYTICS_API_KEY}. The full JavaScript that Google Analytics expects (including the key) can be included in templates via {GOOGLE_ANALYTICS_JAVASCRIPT}
  9. Google Analytics Style for this Survey:  Choices are:
    1. Do not use Google Analytics - so {GOOGLE_ANALYTICS_JAVASCRIPT} is an empty string
    2. Default Google Analytics - {GOOGLE_ANALYTICS_JAVASCRIPT} uses the standard Google Analytics code, inserting the proper Google Analytics Key
    3. SurveyName-[SID]/GroupName - {GOOGLE_ANALYTICS_JAVASCRIPT} contains customized Google Analytics code to log the URL as {SURVEYNAME}-[{SID}]/{GROUPNAME}.  This can be  helpful if you want to analyze navigation paths through your survey, time spent per page, and drop-off rates per page.

Google API howto:

  1. Register/login on Google Analytics (GA): www.google.com/analytics/
  2. Create a tracking ID (the site should not point to the survey, but to the part before 'index.php?') The tracking ID should be UA-xxxxx.
  3. Go to your survey's global settings in LimeSurvey.
  4. Put the tracking ID in appropriate field (Google Analytics tracking ID). It's probably the best to set GA style to track all pages as you can have more info.
  5. You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there.
  6. Activate the survey.
  7. Do the survey.
  8. Go to GA panel mainsite. (select appropriate account in left-hand upper corner if you have more than one). You should see some graphs with the statistics. Beware of the dates in upper right corner.

Tokens

  • Anonymized responses?: This allows you to determine whether responses to your survey are matched up with information from your surveys tokens table, or kept 'anonymous'. The default is 'No'. If you choose 'Yes' then your survey is set to radically anonymize responses - there is really no way to connect answers and participants. Even the admin can't link response data and participant/token data. However you will always be able to specifically view each response entered by your participants in the survey. Thus individual, but anonymous, statistics is still possible to do. Attention:: If this feature is activated the response submission date and the token completed date are always set to 1980-01-01 00:00, no matter of other settings. Why? Invalidating the submission date ensures no match with webserver logs where the token key might show up when a survey is started. Invalidating the token completed date makes sure that you can't align the order of submitted responses to the order of the token date/time.
  • Enable token-based response persistence: If your survey uses tokens and your responses are not anonymized, you may want to enable this feature. If you turn this on, your participants will be able to leave the survey and resume later at any time without using the 'Resume later' function - for example if they get distracted or their browser crashes. Upon clicking the invitation link again, they will find their survey answers still in place when they return to the survey, and will even find themselves on the same page where they were before leaving.
  • Allow multiple responses or update responses with one token?: Default: No. If you activate this setting, participants will be able to return to their survey by clicking the invitation link, even if they have already submitted the survey. If the survey is anonymous or "Enable token-based response persistence" is set to NO, this will add a new response. If the survey is not anonymous and "Enable token-based response persistence" is Yes, the user will update the existing responses.
  • Allow public registration: If you use tokens to control access to your survey, the only people who can use the survey are those who have an entry and a unique token from the token table. If you would like to use tokens, but also allow public registration, set this to "Yes".  The "Yes" setting will allow a visitor to register his name and email address. The script will create a new entry in your tokens table for this person, then send them an invitation email. The script will ensure that only one person per email address can complete your survey.
  • Use HTML format for token emails?: When set to yes, all emails sent by the token management interface (invite, reminder, confirmation) will be formatted as HTML. You'll then be able to use rich formatting for this emails. Default is Yes at survey creation. Caution, when you switch on/off this feature, you'll have to double check that your email templates are still displayed as you want.
  • Set token length to: Usually you don't need to change this, the default setting of 15 digits (max. supported value: 35) is fine. If changing this setting please enter a number (X) which should be greater than 5 (if the number entered is <5 it will be converted to the default value of 15). When generating tokens all tokens will use a length of X digits.

Import

Alternatively you can import a survey structure from this tab on survey creation. You have the option to let LimeSurvey automatically convert relative URLs to local images/media files and INSERTANS tags (recommended).

Copy

Alternatively you can copy an existing survey from this tab on survey creation. You have the option to let LimeSurvey automatically convert relative URLs to local images/media files and INSERTANS tags (recommended). The other options are pretty self-explaining. Please note that when copying a survey the start date and the end date of a survey cleared.

Panel integration (URL parameters)

Please note that this tab is currently not visible on survey creation but only when you edit the survey settings after saving them for the first time.

On this tab you can set which additional URL parameters will be accepted by your survey (these parameters would be attached to the general survey start URL). This is important if you integrate with a professional survey panel provider that provides the participants for your survey. They usually hand over a unqiue ID with every participant and you will need to save/handle this unique ID for reference. Also with some providers the unique ID of the participant (bdropping out due to quota or finishing the survey) needs to be sent back to the panel provider in the survey end URL.

If you like you can also save the value as a response of a "Short text question" or "Multiple short text question" type (you will be able to select any short text question to save it to). Even if you do NOT save the value of the URL parameter you will be able to use this parameter in the end URL. Please have a look at the documentation of the End-URL for further information.

Resources

This tab lets you manage files (pictures, media files) that were uploaded in the HTML Editor and it is only visible if you edit a survey - not during survey creation.

You can:

  • Browse available files
  • Export files as a ZIP archive
  • Import a ZIP archive of files

Important hints:

  • Authorized files extensions are defined in config-defaults.php.
  • Files for the survey are in the upload/surveys/<sid> subdirectory.
  • Uploaded files will only been seen while browsing resources on this survey (groups, questions, answers) not in other surveys or objects (labels).
  • Do not expect this limited visibility to ensure confidentiality of the resources as they are reachable with a simple browser to anyone who know the URL to the file.
  • You can't import a ZIP file containing subdirectories.

Additional languages

To add more language to a survey you have to create and save it - then edit it again. Now you can add and remove additional languages to the survey. If you remove a language from a survey the complete contents of that language in that survey is deleted permanently so be careful what you are doing.

By clicking on the button 'Save and continue' on the first page in the survey settings you will be taken to the language-specific page which lets you change all texts for each language like Survey name, Welcome Text, etc. You can also edit the date format which should be used for a certain language.