新建调查
From LimeSurvey Manual
概览
To create a new survey, click on the Add button on the right side of the administration button bar and a "Create New Survey" screen will appear. You can edit most of these settings later again by click the 'Edit survey settings' icon
in the 'Survey properties' dropdown menu of the survey toolbar.
Settings
所有的调查设定以标签形式组合。下面就是每个标签及字段的说明。
常规
- 基础语言: 本项设定调查使用的基础语言。一旦保存,以后就不能更改。语言集是调查翻译的基础。这样你就可开展多语种的调查。当你创建调查,你不能添加额外的语言。除非你再次编辑调查属性,你才可这样做。
- 标题: 调查的简要描述名称(ie: "企业谈判力调查2003", 或r "针对冰激凌的意见")。该标题会出现在公众调查的每一页。
- 描述: 可为调查键入描述。 (ie: "下轮企业谈判意见搜集调查" 或 "最受欢迎的巧克力冰激凌调查")。可以使用HTML标记。
- 欢迎: 用于向参与者登录调查时展示信息。(ie: "感谢您拨冗参与本次调查..")以使用HTML标记。
- 管理员: 管理调查的联系人姓名。它会包含在邀请参与者的电邮中。
- 管理员邮件地址: 管理员的电邮地址,且用作任何发送电邮的'应答:' 地址。你可以用分号来分隔多个电邮地址 - 这样调查管理通知就能发送给多人。(例如: "firstaddress@test.com;secondaddress@test.com")
- 退回邮件地址: 这是出错通知电邮发送的地址。默认地,它和管理员电邮地址系统。如果你想使用自定义脚本来解析投递错误电邮,请在此使用特定的退回电邮地址,并用脚本来自动处理退邮。脚本也能用来依据电邮地址更新操作代码行的电邮状态 (参见 操作代码)。
- 传真到: 本字段用于在 "可打印调查"上给出传真号。 - ie:当参与者无法使用在线调查、那么你就得给他们发送一份实物稿。
外观和导航
- 格式: 可选 "按题分页", "按组分页" 还是 "全部都在一页"。
- 按题分页: 公众调查会每页只显示一个问题。
- 按组分页: 公众调查会每页只显示一组问题。逐组调查会有独立的 "欢迎"页和"提交"页,就象"全部都在一页"调查一样。
- 全部都在一页: 公众调查会在单独一个页面上显示所有问题。启用了该模式将不再具有"欢迎"页或"提交"页 - 因为它们都显示在了同一页面上。
- 模板: 可以从系统已安装模板中选择。默认模板貌陋能强。更多有关在LimeSurvey创建自己模板的信息,在模板 / 模板编辑器 向导。
- 允许保存?: 如果设为"是" 则用户可以保存未提交的调查,以后再继续。
- 显示 [<< 前一页] 按钮: 该项默认为是,如果设为 "否"的话,用户在调查中就无法返回先前页。
- 参与者可打印答案?: 默认为否。选是的话,参与者可在提交时打印一份回答 但是 当启用该项时,如果用户在提交调查后关闭了浏览器,且当禁用了use_cookies和未使用操作代码(由于会话操作的原因),那他们只能从同一台计算机上加载调查。
- 公开统计: (自1.80版) 如果设定为"是" ,则提交了调查的用户会得到一个当前调查统计的链接。管理员可通过 应用对应问题属性设定问题统计范围。
- 显示统计图: (自1.80版) 设定公开统计的表格化概览内是否包含统计图。为回答众多的大型调查生成统计图会花费点时间和系统资源,该项默认是关。
- 公开列出调查: 默认为否。设定为是的话,调查将在'现有调查' 门户网列出。
- 结束URL: 该网址会以链接出现在调查末尾,用于引导参与者返回网站主页 (其实任意地址均可)。该地址须以"http://"开头,如 http://www.limesurvey.org。
你可以在该网址内使用{SAVEDID}, {TOKEN}, {SID} 和{LANG} (自1.71+版)。
SAVEDID 就是分配给该特定提交文档的id,TOKEN就是参与调查者使用的令牌,SID就是调查ID, LANG就是语言编码%%例如g. http://www.limesurvey.org/test.php?var1={SAVEDID}&var2;={TOKEN}&var3;={SID}⟨={LANG}
自1.82+版后你就能为本字段使用 URL字段。
你也能在该URL内使用{INSERTANS:SGQA}(自1.82+版后)。这也允许你把调查内针对特定问题的答复添加到最终的URL。这对于发送答复给外部脚本很有用(例如在调查中搜集email地址)。比如: "http://www.limesurvey.org/test.php?email={INSERTANS:1234X56X7}"
你也可在结束URL内使用'pasthrough' 字段名和数据值(自1.82+版本)。某些情况下你想在调查初始时传递值,那么就在结束的时候把它传递给外部脚本(例如一个市场公司subsid)。本例中你的调查起始查询URL是 "index.php?sid=12345&passthru;=subsid&subsid;=9999"。在url内你将使用{PASSTHRULABEL} 和{PASSTHRUVALUE}以在调查末尾重用这些值。本例中URL "http://www.limesurvey.org/test.php?{PASSTHRULABEL}={PASSTHRUVALUE}" 将转换为"http://www.limesurvey.org/test.php?subsid=9999"。 - URL描述: 使用结束URL的链接的描述。
- 调查完成后自动加载的URL: 如果本项设为"是",脚本在调查完成后将自动加载"结束URL"内的设置,而不再显示通常的"已完成"页面。如果你使用评估就不要使用本项。
发布和访问控制
- 定时启动: 和 开始日期: 希望调查在某一特定日期开始的话就设为是。调查将在该天的午夜启用,然后大家才可以回答调查。
- 到期: 和 终止日期: 希望调查在某一特定日期结束的话就设为是。这是大家能参与调查的最后日期。(例如: 如果你设为了12月31日,那么在1月1日大家将无法再访问该调查脚本)。
- 设置cookie以防止重复参与?: 如果本项设为'是',而且调查为启用令牌来控制参与者的访问,那么一旦客户端提交了调查就会同时保存一个本地cookie。该cookie将防止该机的同一用户再次访问调查。类似调查难免有内在安全的局限性,但是,通常这样会允许你对公众调查多次输入保有些控制。
- 允许公众注册: 如果使用了令牌来控制调查访问,那么仅那些知道入口和拥有唯一令牌的人才可以使用调查。 如果你使用了令牌,而且允许开放注册,就设定本项为"是"。这样会允许游客注册姓名和电邮。脚本就会为他在令牌表内创建一个新的入口,并把邀请电邮发送给他们。脚本也会保证一个电邮地址对应一个用户来完成调查。
- 使用验证码: 该项用于是否启用验证码。默认是只为公众注册页面启用注册码,但在访问调查前、加载/保存部分答案前,也可启用验证码。
- 令牌属性名: 令牌表有两个"备用"字段来为用户保存额外信息。当使用了公众注册系统,你能使用这两个字段来为公众赋予属性名。显然,当你使用了 "属性_1"来保存参与者的部门名称时,你能够给它一个合适的标签。
- 使用HTML格式的令牌邮件?: 设为是,所有在令牌管理界面发送的邮件 (邀请, 提醒, 确认)会是HTML格式。你就可在电邮内使用富格式。调查创建时默认为是。注意,当你切换开/关该特性时,请检视邮件模板有否发生了变化。
Notification & data management
- Send basic admin notification email to: and Send detailed admin notification email to: These fields allow you to send notifications or survey responses to additional email addresses once the survey is submitted. You can edit the templates for these emails under 'Email templates'. Multiple recipients can be set by seperating 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}". Make sure that at least your administrator email is set properly in the survey settings - otherwise no email will be sent or there will be an 'Invalid address:' message when a participant finishes a survey. Please note that there are three different ways for entering an address:
- Enter a specific email address (ie: yourname@test.com)
- 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)
- 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)
- 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).
- 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.)
- 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.
- 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.
- Enable assessment mode?: With this setting you can enable/disable assessments for this survey.
- 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.
- 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.
- Google Analytics API Key for this survey: Allows for integration with Google Analytics. The API key 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}
- Google Analytics Style for this Survey: Choices are:
- Do not use Google Analytics - so {GOOGLE_ANALYTICS_JAVASCRIPT} is an empty string
- Default Google Analytics - {GOOGLE_ANALYTICS_JAVASCRIPT} uses the standard Google Analytics code, inserting the proper Google Analytics Key
- 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:
- Register/login on Google Analytics (GA): www.google.com/analytics/
- Create a key (the site should not point to the survey, but to the part before 'index.php?') The key should be UA-xxxxx.
- Go to your survey's global settings in LimeSurvey.
- Put the key in appropriate field (Google Analytics API Key). It's probably the best to set GA Style to track all pages as you can have more info.
- You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there.
- Activate the survey.
- Do the survey.
- 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.
- Allow multiple responses or update responses with one token?: Default: No . If you activate this setting the participants may return to his survey by clicking the invitation link, even if he already submitted the survey. If survey is anonymous or Enable token-based response persistence is set to NO, this add a new responses. If survey is not anonymous and Enable token-based response persistence is Yes, user update existing responses.
- Enable token-based response persistence: If your survey uses tokens and your responses are not anonymized, then you may want to enable this feature. If you turn this on, then your participants can leave your survey and resume later at any time without using the 'Resume later' function - for example if he/she gets distracted or his browser crashes. Upon clicking the invitation link again he will find his survey answers so far still in place when returns to the survey and will even continue on the last page seen.
- 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: 99) 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
或者你能使用该标签来导入调查结构。通过本项你可让LimeSurvey自动把相对URLs转换为本地图片/媒体文件和INSERTANS标签(推荐)。
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)
On this tab you can set which additional URL parameters will be accepted by your survey. 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.
你可以:
- 浏览现有文件
- 把文件导出为ZIP存档
- 导入ZIP存档文件
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
要给调查添加多种语言你必须创建并保存 - 然后再编辑它。现在可以为调查添加和删除附加语言。如果删除了调查的一种语言,那么该语言的所有内容将被永久删除,所以请小心从事。
点击调查设定首页的按钮 '保存并继续',你会被带至特定语言页面,在那里你可以改变所有文本——诸如 调查名称, 欢迎文本等等——的语言。。