<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limesurvey.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RsmokeUM</id>
	<title>LimeSurvey Manual - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.limesurvey.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RsmokeUM"/>
	<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/Special:Contributions/RsmokeUM"/>
	<updated>2026-08-13T02:49:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Manage_users&amp;diff=72391</id>
		<title>Manage users</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Manage_users&amp;diff=72391"/>
		<updated>2017-02-20T19:25:59Z</updated>

		<summary type="html">&lt;p&gt;RsmokeUM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= User management= &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Create users== &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
To create a new user open the user management (&amp;quot;Configuration&amp;quot; -&amp;gt; &amp;quot;Manage survey administrators&amp;quot;)ː &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyBenuzerVerwaltung.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyAddUser.jpg]]&lt;br /&gt;
* Enter the desired username into the textfield &#039;&#039;&#039;Username&#039;&#039;&#039;.&lt;br /&gt;
* Enter the email address into the textfield  &#039;&#039;&#039;Email&#039;&#039;&#039;. Please note&lt;br /&gt;
** If you don&#039;t want the user to receive the confirmation email with a link to the LimeSurvey installation, username and password you can use your own email address to send the confirmation email to you. After that you can change the email address to the address of the user.&lt;br /&gt;
** LimeSurvey sends out a confirmation email to the address entered into &#039;&#039;&#039;Email&#039;&#039;&#039;. This email address will be used as standard contact email address for surveys created by this user.&lt;br /&gt;
* Enter the users full name into the textfield &#039;&#039;&#039;Full name&#039;&#039;&#039; . Please note&lt;br /&gt;
** The full name entered here will be used as standard contact person name for surveys created by this user.&lt;br /&gt;
* Click &#039;&#039;&#039;Add user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
So you created a new user. You will find out more about setting user permissions if you continue reading further.&lt;br /&gt;
&lt;br /&gt;
==Edit users== &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
You can use the pen symbol to edit a userː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyBleistiftSymbol.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
You can set a new email address, full name and even change the password. If you have finished what you want to do click &#039;&#039;&#039;Save&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Delete users== &amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
To delete a user account simply click the trash button in the line with the user account that should be deleted and hit &#039;&#039;&#039;OK&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=Global permissions= &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
Global permissions apply to the whole LimeSurvey installation. If you want to set permissions only for a specific survey you can use the Survey permissions settings.&lt;br /&gt;
&lt;br /&gt;
==Setting global permissions for a user== &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
To set global permissions for a user just click the lock symbol.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[File:User_global_permission.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
[[File:User_global_permission_complete.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
{{FeatureChange|2.05}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
The system use CRUD (Create, read, update and delete) like the Survey right setttings. Check the first input check all the line, you can give less or more right for each system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
You can now add or remove the following rights.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039;: This right can only be added or removed by the user called &#039;&#039;&#039;admin&#039;&#039;&#039; and grants full rights to the whole LimeSurvey installation. &#039;&#039;&#039;Please note:&#039;&#039;&#039; This right is very powerful and you should be very carfefully with granting this right.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Surveys&#039;&#039;&#039;: This give the access to all survey. To allow a user to create and manage his survey, you need only to let the user to create survey. The creator of a survey is the owner of this survey : this give him all access to this survey. Remind each survey can have specific permission, the global permission is read before survey specific permission.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Settings &amp;amp; Plugins&#039;&#039;&#039;: With this right a user can check data integrity, save the SQL database to an sql file and view the php info in the global settings. This allow too to manage all plugins.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Users&#039;&#039;&#039;: Having this right a user can create new users and delete users created with this account. The newly created users cannot have higher permissions than the parent. If this has to be done a &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; has to grant the rights.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;User groups&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Templates&#039;&#039;&#039;: It allows the user to use all design templates and edit all non standard templates. A person with this right should have sufficient knowledge in terms of  HTML/php, Javascript and CSS. If a user not familar with this things should use a specific design template it would be better to give him only acccess to read permission. Each template can have specific permission.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Label sets&#039;&#039;&#039;: This right grants rights regarding label sets (create, update , use (view/read) and delete). The label sets don&#039;t have specific righth.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Participant panel&#039;&#039;&#039;: see [[Central participants database]]&lt;br /&gt;
&lt;br /&gt;
==Setting template permissions for a user== &amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
With template permissions you can set which design templates a user can select when creating or editing a survey. It might be a good idea to restrict the design templates a user can select in order to prevent unwanted use of design templates not suitable for a user/survey.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note:&#039;&#039;&#039; If you have a specific design template for a group of users or customers you might want to restrict the access for them to use only the template created for their purpose.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
To set/edit the template permissions for a user simply click the pen-and-lock symbol for design templates &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
[[File:LimeSurveySetDesignTemplatesLS.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
You can now select the design templates this user can select. After you finished your selection/deselection just hit &#039;&#039;&#039;Save&#039;&#039;&#039; in the upper right corner:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
[[File:Save_Close.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
The most important use cases for granting user rights are collected at the &#039;&#039;&#039;use cases&#039;&#039;&#039; part of this article.&lt;br /&gt;
&lt;br /&gt;
=Setting permissions for a single survey= &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
These permissions only apply for a single survey. If you want to set permissions for the whole system you can use the global permissions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note:&#039;&#039;&#039; An existing user account is required to set permissions for a single survey. If the account doesn&#039;t exist you have to create it first and then change the survey permissions. You don&#039;t have to apply any global rights to the user, it is just necessary that the user account itself exists.&lt;br /&gt;
&lt;br /&gt;
==Setting user permissions for a single survey== &amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
To change the survey permissions you have to select &#039;&#039;&#039;Survey permissions&#039;&#039;&#039; from the &#039;&#039;&#039;Survey properties&#039;&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
[[File:LimeSurveySurveyPermissions.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
In the next step you select the user you want to change the survey rights and click &#039;&#039;&#039;Add user&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyAddSurveyPermission.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
After you click &#039;&#039;&#039;Set survey permissions&#039;&#039;&#039; the survey permissions matrix for the survey and user will be shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyUserPermissionMatrix.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
In this matrix you can set the rights for the different features and parts. You simply click  a checkbox if you want to add or remove this right. If you click a checkbox in the first column all rights for this line will be selected/removed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
In the other columns you can choose whether a user can do a single actions from this feature/part.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
After you finished editing the survey permissions click &#039;&#039;&#039;Save&#039;&#039;&#039; or &#039;&#039;&#039;Save and close&#039;&#039;&#039; in the upper right corner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
[[File:Save-SaveAndClose-Close.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
The most important use cases for granting user rights are collected at the &#039;&#039;&#039;use cases&#039;&#039;&#039; part of this article.&lt;br /&gt;
&lt;br /&gt;
=Use cases= &amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
In this part of the article we&#039;ll provide a few ideas which use cases may exist and how and which rights would be a good choice.&lt;br /&gt;
&lt;br /&gt;
==A new person in charge for administrating LimeSurvey will be added== &amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
* login as &#039;&#039;&#039;admin&#039;&#039;&#039;&lt;br /&gt;
* Create a new user account&lt;br /&gt;
* Set global permissions for user to &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039;&lt;br /&gt;
* not necessary: Setting the template permissions (&#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; has all permissions for all templates)&lt;br /&gt;
* not necessary: Setting the survey permissions (&#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; has all permissions for all surveys)&lt;br /&gt;
&lt;br /&gt;
==A new user wants to create own surveys== &amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
* login as &#039;&#039;&#039;admin&#039;&#039;&#039; or user with &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; permission.&lt;br /&gt;
* Create a new user account&lt;br /&gt;
* Set global permissions for user to &#039;&#039;&#039;Create survey&#039;&#039;&#039;&lt;br /&gt;
* Set template permissions for user to the template/s that should be used by the user/user-group&lt;br /&gt;
* not necessary: Setting the survey permissions (The creator of a survey has all permissions for his/her surveys)&lt;br /&gt;
&lt;br /&gt;
==The creator of a survey needs another person to edit his/her survey== &amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
* login as &#039;&#039;&#039;admin&#039;&#039;&#039; or user with &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; permission.&lt;br /&gt;
* Create a new user account&lt;br /&gt;
* Set &#039;&#039;&#039;no global permissions&#039;&#039;&#039; for user&lt;br /&gt;
* Set &#039;&#039;&#039;no template permissions&#039;&#039;&#039; for user&lt;br /&gt;
* Set the survey permissions the way you want. It depends on what the new user should do and how much permissions he/she needs. If he/she should have all permissions for the survey you can select the first checkboxes in the first column with checkboxes (the one with the &#039;&#039;&#039;&amp;lt;&amp;lt;&#039;&#039;&#039; or &#039;&#039;&#039;&amp;gt;&amp;gt;&#039;&#039;&#039; button as header).&lt;br /&gt;
&lt;br /&gt;
==A person responsible for the survey wants to see the results of the survey and export them== &amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
* login as &#039;&#039;&#039;admin&#039;&#039;&#039; or user with &#039;&#039;&#039;SuperAdministrator&#039;&#039;&#039; permission.&lt;br /&gt;
* Create a new user account&lt;br /&gt;
* Set &#039;&#039;&#039;no global permissions&#039;&#039;&#039; for user&lt;br /&gt;
* Set &#039;&#039;&#039;no template permissions&#039;&#039;&#039; for user&lt;br /&gt;
* Set survey permissions to: &#039;&#039;&#039;Responses&#039;&#039;&#039;: &#039;&#039;&#039;View/read&#039;&#039;&#039; and &#039;&#039;&#039;export&#039;&#039;&#039; , &#039;&#039;&#039;Statistics&#039;&#039;&#039;: &#039;&#039;&#039;View/read&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyCusomerOwnStatistics.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
To be moved somewhere else once better defined:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
There are several classes of possible people who access a LimeSurvey installation.  But only one set of people is actually termed a &#039;&#039;&#039;user&#039;&#039;&#039; in the code and documentation.  So lets understand what these classes of people are so we can better understand the terminology of the program.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
! Class !! Description&lt;br /&gt;
|-&lt;br /&gt;
|Installation Administrator || Those people who create login user accounts to allow others to create, edit, activate and/or view surveys and their results.  Often can be given access to edit the templates, labelsets and other key features independent of any particular survey stored.&lt;br /&gt;
|-&lt;br /&gt;
|Survey Administrator || A person with a login account that is given some management access to a particular survey.  Each survey can have its own set of users with specific rights to manipulate the survey.  These rights can be as broad as to activate a survey and possibly edit its question base.  They can be as minimum as simply able to review the results to date.&lt;br /&gt;
|-&lt;br /&gt;
|Participant || Those people who simply respond or participate in taking a survey.  They may or may not have token access.  They do not need a login account to the administrative interface and thus are not termed users.&lt;br /&gt;
|-&lt;br /&gt;
|Installer || A special class of person who has access to the MySQL (or similar) database server and possibly the command line interface of the computers operating system in order to install and configure the survey software.  This person is asked to setup the initial SuperAdmin user account from which other user login accounts can be created.&lt;br /&gt;
|-&lt;br /&gt;
|Developer || An very special class of person who has access to the source code and can manipulate it to change the programs behavior.  Generally only done with versions of the survey that are not available for live, active surveys. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use one-time passwords= &amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
Since version 1.81 a user can call the limesurvey login at /limesurvey/admin and pass username and a one time password which was previously written into the users table (column one_time_pw) by an external application.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
To enable this login method [[Optional settings#Use_one_time_passwords |a setting has to be turned on]] ($use_one_time_passwords = true;) in config.php.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
The URL has to contain the following variables:&lt;br /&gt;
* &#039;&#039;&#039;user:&#039;&#039;&#039; The username normally used to login into LimeSurvey. This username has to exist in the &#039;users&#039; table of the database.&lt;br /&gt;
* &#039;&#039;&#039;onepass:&#039;&#039;&#039; The plain text password which is then compared to the password in the &#039;users&#039; table&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
A valid URL to login using a one-time password will look like this...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
... for 1.81 to 1.92:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;http://www.yourdomain.org/limesurvey/admin/admin.php?user=myusername&amp;amp;onepass;=secretpassword&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
...for 2.0 or later:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;http://www.yourdomain.org/limesurvey/index.php/admin/authentication/login?user=myusername&amp;amp;onepass;=secretpassword&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Things to watch out for:&#039;&#039;&#039;&lt;br /&gt;
* One time passwords have to be enabled by setting &amp;quot;$use_one_time_passwords = true;&amp;quot; (for 1.92), respective &amp;quot;use_one_time_passwords =&amp;gt; true&amp;quot; (for 2.0 in config section) in config.php.&lt;br /&gt;
* The passed username has to exist in LimeSurvey&#039;s &#039;&#039;users&#039;&#039; table&lt;br /&gt;
* The one time password, which can be set by an external application, has to be stored as [http://www.php.net/md5 MD5 hash] in column &#039;&#039;one_time_pw&#039;&#039; of table &#039;&#039;users&#039;&#039;&lt;br /&gt;
* The passed plain text password will be hashed using md5() function and will then be compared to the stored hash in column &#039;&#039;one_time_pw&#039;&#039; of table &#039;&#039;users&#039;&#039;. Both passwords have to match.&lt;br /&gt;
* After the first login with the one time password this password is deleted from the database. The user won&#039;t be able to login with this password a second time.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>RsmokeUM</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Using_regular_expressions&amp;diff=72376</id>
		<title>Using regular expressions</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Using_regular_expressions&amp;diff=72376"/>
		<updated>2017-02-15T16:43:41Z</updated>

		<summary type="html">&lt;p&gt;RsmokeUM: /* Age validation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages /&amp;gt; &amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Regular Expressions must start and finish with a forward slash (&amp;quot;/&amp;quot;). You can find a good library of regular expressions at http://www.regexlib.net/. These patterns will almost all work if surrounded with the forward slash.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
To test your regex you can [https://regex101.com/ use this regex tester].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&#039;&#039;Please add successfully tested regular expressions!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Examples (note that these are all one line):&lt;br /&gt;
&lt;br /&gt;
=Important: Regular Expressions in conditions= &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
Note that when using regular expressions in the condition editor, do NOT include the beginning and ending slash.&lt;br /&gt;
&lt;br /&gt;
=Email validation= &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:123--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Postcodes= &amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Australian postcodes:== &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[0-9]{4}/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Brazilian postcodes== &amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[0-9]{2}\.[0-9]{3}-[0-9]{3}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Canadian postcodes== &amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[a-zA-Z]\d{1}[a-zA-Z](\-| |)\d{1}[a-zA-Z]\d{1}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==US postal codes== &amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[0-9]{5}([- /]?[0-9]{4})?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UK postcodes== &amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[A-Z][A-Z]?[0-9][A-Z0-9]? ?[0-9][ABDEFGHJLNPQRSTUWXYZ]{2}$/i&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
Note that this is not very exact, and a more exact validation is much more complex.  For example, see [http://stackoverflow.com/questions/164979/uk-postcode-regex-comprehensive StackOverflow answer] and [http://en.wikipedia.org/wiki/Talk:Postcodes_in_the_United_Kingdom#Regular_Expressions Wikipedia] for more information.&lt;br /&gt;
&lt;br /&gt;
=Phone numbers= &amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==US phone numbers== &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\([2-9]\d{2}\)\ ?|[2-9]\d{2}(?:\-?|\ ?))[2-9]\d{2}[- ]?\d{4}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[\(\)\.\- ]{0,}[0-9]{3}[\(\)\.\- ]{0,}[0-9]{3}[\(\)\.\- ]{0,}[0-9]{4}[\(\)\.\- ]{0,}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
This second option will match all phone Canadian and US phone numbers that include non-digit symbols including&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt; . ( ) - (space)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
This will allow you to match phone numbers which resemble below.&lt;br /&gt;
*(555)555 5555&lt;br /&gt;
*555.555.5555&lt;br /&gt;
*555 555 5555&lt;br /&gt;
*(555)-555-5555&lt;br /&gt;
*555-555-5555&lt;br /&gt;
*555555555&lt;br /&gt;
&lt;br /&gt;
==Australian phone numbers== &amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
The following patterns match all various Australian mobile and landline phone numbers including with &amp;quot;+61&amp;quot; country prefix eg:&lt;br /&gt;
*(02) 9123 6535&lt;br /&gt;
*03 1234-5345&lt;br /&gt;
*0412 345 678&lt;br /&gt;
*+61 2 3456 789&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
But not:&lt;br /&gt;
* 234 3450 234&lt;br /&gt;
*a234 534 3432&lt;br /&gt;
*134567&lt;br /&gt;
*123456789013&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
Brackets, white space and hypens are ignored.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
The &#039;Very precise:&#039; versions listed here match against the first four or five digits in a number to ensure that they are valid Australian numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
The &#039;Not very precise:&#039; only match against the first and second digit so may allow invaid numbers.&lt;br /&gt;
&lt;br /&gt;
===All Australian phone numbers (mobile and landline - area code required)=== &amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^\(?(?:\+?61|0)(?:(?:2\)?[ -]?(?:3[ -]?[38]|[46-9][ -]?[0-9]|5[ -]?[0-35-9])|3\)?(?:4[ -]?[0-57-9]|[57-9][ -]?[0-9]|6[ -]?[1-67])|7\)?[ -]?(?:[2-4][ -]?[0-9]|5[ -]?[2-7]|7[ -]?6)|8\)?[ -]?(?:5[ -]?[1-4]|6[ -]?[0-8]|[7-9][ -]?[0-9]))(?:[ -]?[0-9]){6}|4\)?[ -]?(?:(?:[01][ -]?[0-9]|2[ -]?[0-57-9]|3[ -]?[1-9]|4[ -]?[7-9]|5[ -]?[018])[ -]?[0-9]|3[ -]?0[ -]?[0-5])(?:[ -]?[0-9]){5})$/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\+?61|0)[2-478](?:[ -]?[0-9]){8}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===All Australian phone numbers (landlines only - area code required)=== &amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^\(?(?:\+?61|0)(?:2\)?[ -]?(?:3[ -]?[38]|[46-9][ -]?[0-9]|5[ -]?[0-35-9])|3\)?(?:4[ -]?[0-57-9]|[57-9][ -]?[0-9]|6[ -]?[1-67])|7\)?[ -]?(?:[2-4][ -]?[0-9]|5[ -]?[2-7]|7[ -]?6)|8\)?[ -]?(?:5[ -]?[1-4]|6[ -]?[0-8]|[7-9][ -]?[0-9]))(?:[ -]?[0-9]){6}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\+?61|\(?0)[2378]\)?(?:[ -]?[0-9]){8}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===New South Wales landline phone numbers (area code optional)=== &amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)2\)?[ -]?)?(?:3[ -]?[38]|[46-9][ -]?[0-9]|5[ -]?[0-35-9])(?:[ -]?[0-9]){6}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)2\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Victorian and Tasmanian landline phone numbers (area code optional)=== &amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)3\)?[ -]?)?(?:4[ -]?[0-57-9]|[57-9][ -]?[0-9]|6[ -]?[1-67])(?:[ -]?[0-9]){6}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)3\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Queensland landline phone numbers (area code optional)=== &amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)7\)?[ -]?)?(?:[2-4][ -]?[0-9]|5[ -]?[2-7]|7[ -]?6)(?:[ -]?[0-9]){6}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)7\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===South Australia, Northern Territory, Western Australia landline phone numbers (area code optional)=== &amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)8\)?[ -]?)?(?:5[1-4]|6[0-8]|[7-9][0-9])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)8\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Australian mobile phone numbers only=== &amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
Very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\+?61|0)4 ?(?:(?:[01] ?[0-9]|2 ?[0-57-9]|3 ?[1-9]|4 ?[7-9]|5 ?[018]) ?[0-9]|3 ?0 ?[0-5])(?: ?[0-9]){5}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
Not very precise:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:\(?(?:\+?61|0)4\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Belgian phone number== &amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00)32\s?|0)(\d\s?\d{3}|\d{2}\s?\d{2})(\s?\d{2}){2}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
==Belgian mobile phone number==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00)32\s?|0)4(60|[789]\d)(\s?\d{2}){3}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
==French phone number==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00)33\s?|0)[1-5](\s?\d{2}){4}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
==French mobile phone number==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00)33\s?|0)[679](\s?\d{2}){4}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
==Luxemburg phone number==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00\s?)352)?(\s?\d{2}){3,4}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
==Luxemburg mobile phone number==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^((\+|00\s?)352)?\s?6[269]1(\s?\d{3}){2}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
=German marks (with optional plus or minus)=&lt;br /&gt;
 &amp;lt;source&amp;gt;/^[1-6]{1}[\+|\-]?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
=Age validation=&lt;br /&gt;
Example: Age 20-99&lt;br /&gt;
 &amp;lt;source&amp;gt;/([2-9][0-9])/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:124--&amp;gt;&lt;br /&gt;
Example: Age 18-35&lt;br /&gt;
 &amp;lt;source&amp;gt;/(1[8-9]|2[0-9]|3[0-5])/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:125--&amp;gt;&lt;br /&gt;
Example: Age 19-65&lt;br /&gt;
 &amp;lt;source&amp;gt;/^(1[8-9]|[2-5][0-9]|6[0-5])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Number validation= &amp;lt;!--T:126--&amp;gt;&lt;br /&gt;
==Numbers from 1 to 99999==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
 &amp;lt;source&amp;gt;/^[1-9][0-9]{0,4}$/ does the same as above but should run a little faster&amp;lt;/source&amp;gt;&lt;br /&gt;
==Numbers from 1 to 999, 1.000 to 999.999 to 999.999.999==&lt;br /&gt;
 &amp;lt;source&amp;gt;/^[1-9][0-9]{0,2}(?:\.[0-9]{3}){0,2}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
Accepts numbers from 1 to 999, 1.000 to 999.999 to 999.999.999 but&lt;br /&gt;
rejects numbers like 999.1.1 , 94.22.22, 999.1.22, 999.11.1, 999.1.333&lt;br /&gt;
&lt;br /&gt;
==Number validation with optional decimal (for price)== &amp;lt;!--T:127--&amp;gt;&lt;br /&gt;
Accepts numbers from 0 to 199, with 2 decimal optional:&lt;br /&gt;
 &amp;lt;source&amp;gt;/^([1][0-9][0-9]|[1-9][0-9]|[0-9])((\.)[0-9][0-9])?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:128--&amp;gt;&lt;br /&gt;
Forces two decimal points and accepts numbers from 1.00 to 999,999,999.00 with an optional comma delimiting thousands/millions&lt;br /&gt;
including all of the following: 1.00, 1,000.00, 12,345.67, 12345,02, 123,456,468.00, 1234566.00, 123456789.00&lt;br /&gt;
but not 1,23.00, 12,3.4 or 1234,43.04&lt;br /&gt;
 &amp;lt;source&amp;gt;/^[1-9][0-9]{0,2}(?:,?[0-9]{3}){0,3}\.[0-9]{2}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:129--&amp;gt;&lt;br /&gt;
Same as above but the two decimal points are optional:&lt;br /&gt;
&amp;lt;source&amp;gt;/^[1-9][0-9]{0,2}(?:,?[0-9]{3}){0,3}(?:\.[0-9]{2})?$/ &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Month (1-12)== &amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
If you want to ask for the month a person was born you can validate the input as follows:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:77--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[0]*[1-9]$|^[0]*1[0-2]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Minimum width (set to 3 in this example)= &amp;lt;!--T:78--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:79--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^.{3,}$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Currency= &amp;lt;!--T:80--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==US currency (dollar sign and cents optional)== &amp;lt;!--T:81--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:82--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^\$?\d+(\.(\d{2}]]?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Swiss price== &amp;lt;!--T:83--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:84--&amp;gt;&lt;br /&gt;
A number with two decimal numbers after the decimal point of which the last one is either a 5 or a 0:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:85--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(\d+)(\.\d(05)?)?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Validate score= &amp;lt;!--T:86--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==1-10== &amp;lt;!--T:87--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:88--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[1-9]{1}$|^10$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==1-100== &amp;lt;!--T:89--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:90--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^[1-9]?[0-9]{1}$|^100$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Text validation= &amp;lt;!--T:91--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:92--&amp;gt;&lt;br /&gt;
currently multiple short text doesn&#039;t support minimum or maximum answers. One way around this is to use a long free text type question with a regular expression.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:93--&amp;gt;&lt;br /&gt;
The following test for at least one word per line for at least 3 lines and no more than 10 lines.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:94--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+)*)(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+)*)){2,10}/is&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:95--&amp;gt;&lt;br /&gt;
If you wanted, say five words per line you could change the first and last star/asterisk to {4,} e.g.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:96--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+){4,})(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+){4,})){2,10}/is&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:97--&amp;gt;&lt;br /&gt;
If you wanted one or more words per line on between 1 and 5 lines, you can change the content of the last curley braces to &#039;&#039;&#039;0,4&#039;&#039;&#039; (note you use 0 because you&#039;re already matching the first line).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:98--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+)*)(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[^,.;:?!&amp;amp; \n\r]+(?: [^,.;:?!&amp;amp; \n\r]+)*)){0,4}/is&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Word count== &amp;lt;!--T:99--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:100--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;The following restricts the number of words allowed to a minimum of 1 and a maximum of 200&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:101--&amp;gt;&lt;br /&gt;
/^[-\w]+(?:\W+[-\w]+){0,199}\W*$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:102--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;To increase the minimum change the zero part of {0,199}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:103--&amp;gt;&lt;br /&gt;
To increase or decrease the maximum change the &amp;quot;199&amp;quot; part of {0,199}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time validation= &amp;lt;!--T:104--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:105--&amp;gt;&lt;br /&gt;
There are a number of ways of writing time formats. Some of the possible options are 12 hour or 24 hour, with seconds or without. Although it is an option to use the date question type (it can also capture time) you can use &amp;quot;short free text&amp;quot; with one of the validation regular expressions below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:106--&amp;gt;&lt;br /&gt;
The following three validation strings test for 24 hour time (in order of appearences) without seconds, with optional seconds lastly with seconds required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:107--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:[01][0-9]|2[0-3]):[0-5][0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:108--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9])?$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:109--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:130--&amp;gt;&lt;br /&gt;
The following three match 12 hour time, as above with seconds, optional seconds and with seconds required&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:110--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?&amp;quot;&amp;gt;00:[0-5][0-9] (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9] (?:[ap]m|[AP]M)|12:[0-5][0-9] (?:pm|PM))$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:111--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:00:[0-5][0-9](?::[0-5][0-9])? (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9](?::[0-5][0-9])? (?:[ap]m|[AP]M)|12:[0-5][0-9](?::[0-5][0-9])? (?:pm|PM))$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:112--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:00:[0-5][0-9]:[0-5][0-9] (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9]:[0-5][0-9] (?:[ap]m|[AP]M)|12:[0-5][0-9]:[0-5][0-9] (?:pm|PM))$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:131--&amp;gt;&lt;br /&gt;
The following three match either 12 or 24 hour time as above with seconds, optional seconds and with seconds required&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:113--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:(?:00:[0-5][0-9] (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9] (?:[ap]m|[AP]M)|12:[0-5][0-9] (?:pm|PM))|(?:[01][0-9]|2[0-3]):[0-5][0-9])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:114--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:(?:00:[0-5][0-9](?[0-5][0-9])? (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9](?[0-5][0-9])? (?:[ap]m|[AP]M)|12:[0-5][0-9](?[0-5][0-9])? (?:pm|PM))|(?:[01][0-9]|2[0-3]):[0-5][0-9](?[0-5][0-9])?)$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:115--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?:(?:00:[0-5][0-9]:[0-5][0-9] (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9]:[0-5][0-9] (?:[ap]m|[AP]M)|12:[0-5][0-9]:[0-5][0-9] (?:pm|PM))|(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=US states= &amp;lt;!--T:116--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:117--&amp;gt;&lt;br /&gt;
To validate for one state use the following (example is Texas):&lt;br /&gt;
*TX uppercase only = &amp;lt;source&amp;gt;/^(TX)$/&amp;lt;/source&amp;gt;&lt;br /&gt;
*tx lowercase only = &amp;lt;source&amp;gt;/^(tx)$/&amp;lt;/source&amp;gt;&lt;br /&gt;
*TX upper or lowercase = &amp;lt;source&amp;gt;/^([T|t][X|x])$/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Profanity Filter= &amp;lt;!--T:118--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:119--&amp;gt;&lt;br /&gt;
To filter profanity words from an answer:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:120--&amp;gt;&lt;br /&gt;
&amp;lt;source&amp;gt;/^(?i)((?!\bENTERPROFANITYHERE\b).)*$(?-i)/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:121--&amp;gt;&lt;br /&gt;
Replace &amp;quot;ENTERPROFANITYHERE&amp;quot; with your bad word.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:122--&amp;gt;&lt;br /&gt;
The \b will allow passing of words such as &amp;quot;assassination&amp;quot; &amp;amp; &amp;quot;hello&amp;quot; if you enter &amp;quot;ass&amp;quot; or &amp;quot;hell&amp;quot; as your profanity word. This also works if you are trying to omit other words, names etc. from answers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>RsmokeUM</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Browsing_survey_results&amp;diff=72375</id>
		<title>Browsing survey results</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Browsing_survey_results&amp;diff=72375"/>
		<updated>2017-02-15T15:57:38Z</updated>

		<summary type="html">&lt;p&gt;RsmokeUM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages /&amp;gt; &amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=General= &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
Once a survey has been activated, and survey responses have been submitted, you will want to be able to view those responses, maybe edit some of them (or possibly delete some), export them, get some information about the responses received so far, and so on. All of this is done through the &amp;quot;Browse responses&amp;quot; function.&lt;br /&gt;
&lt;br /&gt;
=How to get there= &amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
When your survey is active, make sure your survey is selected. Then click on the &#039;Responses &amp;amp; statistics&#039; icon [[File:Responses.png]] and in the appearing dropdown menu the &#039;Browse responses&#039; menu entry [[File:browse.png]] in the survey tool bar. This will take you to the &amp;quot;Responses &amp;amp; statistics&amp;quot; main screen.&lt;br /&gt;
&lt;br /&gt;
=Functionality= &amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
The main screen (Response Summary), which is the entry screen for this section, will show you the following information:&lt;br /&gt;
*The number of full responses &lt;br /&gt;
*The number of incomplete responses &lt;br /&gt;
*The total number of responses (which is a total of full and incomplete responses)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
If your survey is also using tokens to restrict survey access then some information for the tokens is shown here too:&lt;br /&gt;
*Total invitations sent&lt;br /&gt;
*Total surveys completed	&lt;br /&gt;
*Total with no unique token&lt;br /&gt;
*Total records in the token table&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;&#039;&#039;Incomplete answers are response records with no &#039;&#039;submission date&#039;&#039;: such a record can occur when a participant uses the &#039;saved so far but do not submit survey&#039; function, or when an operator uses the data entry facility to fill out a survey without &#039;Finalizing the submit&#039;, or even when a participant fails to complete the survey because he/she just left.&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
The other options in this screen are described below:&lt;br /&gt;
*Return to survey administration: Return to the main admin screen for this survey&lt;br /&gt;
*Show summary information: The responses main screen&lt;br /&gt;
*Display responses: Display all the results to the survey. The browse shows full descriptive question names, but only abbreviated answers. See section below (editing and deleting responses).&lt;br /&gt;
*Display last 50: Display the last 50 responses to the survey, ordered from most recent to least recent.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
*[[Data entry]]: Go to the data entry screen to add a new response (this option is also available from the admin screen)&lt;br /&gt;
*[[Statistics]]: A simple method for filtering and getting summaries of responses.&lt;br /&gt;
*[[Exporting results|Export results]]: Export all the responses to this survey to different formats like Word, Excel, CSV, SPSS, R and more.&lt;br /&gt;
&lt;br /&gt;
=View survey results by participant= &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
When you are browsing responses (by clicking either the &#039;&#039;Display responses&#039;&#039; or &#039;&#039;Display last 50 responses&#039;&#039;) the first row shows you a number of small icons for each link. Clicking on the &#039;&#039;View response details&#039;&#039; icon [[File:Token viewanswer.png]] allows you to view that specific response on an individual basis. From here you can also edit, delete or export that specific response. See section below (editing and deleting responses).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
Participants can be identified either by token, name, or IP address.&lt;br /&gt;
&lt;br /&gt;
=Editing and deleting responses= &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
When viewing your responses, you will be able to view a specific response by clicking on the id number. From this point you can choose to &amp;quot;Edit&amp;quot; or &amp;quot;Delete&amp;quot; this response.&lt;br /&gt;
&lt;br /&gt;
==Editing a response== &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Editing the response is also fairly self-explanatory. It will take you to a &#039;data-entry&#039; screen with the responses provided, and allow you to make and save any modifications. Again, in a survey you generally don&#039;t want to make changes to the responses made by the participants - but hey - it&#039;s your survey. Do what you want!&lt;br /&gt;
&lt;br /&gt;
==Deleting a response== &amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
Deleting the responses is, of course, fairly self-explanatory - and as anyone who regularly runs surveys would know, is not recommended, unless you&#039;ve got a pretty good reason (ie: a doubled up entry, or some sufficiently serious reason as to why it should be deleted). Don&#039;t click on this button thinking it will give you a second chance. If you click &amp;quot;Delete&amp;quot;, the entry will be deleted with no second guessing or second checks.&lt;br /&gt;
&lt;br /&gt;
==Exporting a response== &amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
At the &amp;quot;Browse responses for this survey&amp;quot; section you can click on &amp;quot;Display responses&amp;quot; and the id number you want to export in the left column. Then you can click on &amp;quot;Export this survey&amp;quot; above the data.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>RsmokeUM</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Exporting_results&amp;diff=72373</id>
		<title>Exporting results</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Exporting_results&amp;diff=72373"/>
		<updated>2017-02-15T15:16:30Z</updated>

		<summary type="html">&lt;p&gt;RsmokeUM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages /&amp;gt; &amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Once your survey is active you can start browsing responses and export them. To get to the survey response overview click...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
[[File:browse_results.png]]&lt;br /&gt;
&lt;br /&gt;
=Export to application (Excel/.csv)= &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
On top of the browse responses page several export options are listed, beginning with &#039;&#039;export to CSV/application&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
[[File:export2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
When exporting results to an application there are several filter options which are separated into:&lt;br /&gt;
*&#039;&#039;&#039;General&#039;&#039;&#039;&lt;br /&gt;
** Set a range like export records X to Y&lt;br /&gt;
** Set to export all records OR completed records only OR incomplete records only&lt;br /&gt;
*&#039;&#039;&#039;Questions&#039;&#039;&#039;&lt;br /&gt;
** Set how the heading should look like: Abbreviated heading OR full headings OR question codes&lt;br /&gt;
** Convert spaces in question text to underscores&lt;br /&gt;
*&#039;&#039;&#039;Answers&#039;&#039;&#039;&lt;br /&gt;
** You can either export full answers or convert answer codes Y and N to a defined variable&lt;br /&gt;
*&#039;&#039;&#039;Format&#039;&#039;&#039;&lt;br /&gt;
** Microsoft Word (latin charset)&lt;br /&gt;
** Microsoft Excel (all charsets)&lt;br /&gt;
** CSV File (all charsets)&lt;br /&gt;
** PDF&lt;br /&gt;
*&#039;&#039;&#039;Column Control&#039;&#039;&#039;&lt;br /&gt;
** Set which answers should be exported. All answers in this list are represented by their [[SGQA identifier|SGQA identifier]]&lt;br /&gt;
** Set which &#039;&#039;&#039;&#039;&#039;token&#039;&#039;&#039;&#039;&#039; data should be exported. This option is only available if your survey is &#039;&#039;&#039;&#039;&#039;not anonymous&#039;&#039;&#039;&#039;&#039;!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
[[File:export_tokens.png]]&lt;br /&gt;
&lt;br /&gt;
=SPSS Export= &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==General== &amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:231--&amp;gt;&lt;br /&gt;
SPSS Statistics is a software package used for logical batched and non-batched statistical analysis. You can use official SPSS package or use [https://www.gnu.org/software/pspp/ GNU PSPP] replacement for the proprietary program SPSS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
To export your response data to SPSS go to Responses &amp;amp; Statistics section and click the icon to export to SPSS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
[[File:spss_toolbar.png]]&lt;br /&gt;
&lt;br /&gt;
==Export and filter data== &amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
When exporting data to SPSS there are two filter options. You can select &#039;&#039;&#039;which data&#039;&#039;&#039; should be selected (&#039;&#039;all records/completed records only/incompleted records only&#039;&#039;) and for &#039;&#039;&#039;which SPSS version&#039;&#039;&#039; the export files will be used (&#039;&#039;prior version 16/16 or up&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
SPSS export includes two files:&lt;br /&gt;
# a syntax file (&#039;&#039;survey_xxxx_SPSS_syntax_file.sps&#039;&#039;)&lt;br /&gt;
# and a data file (&#039;&#039;survey_xxxx_SPSS_data_file.dat&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
After having downloaded these files you can open them using a raw text editor like notepad to take a look how the exported data looks like. The syntax file holds the commands that should be run to import the data. It is like a programming language inside SPSS. The data file contains a comma separated file with all data. If you just import this data as csv via a wizard you loose information about questions, labelsets etc. so we don&#039;t do that.&lt;br /&gt;
&lt;br /&gt;
==Import data in SPSS== &amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
Place the two files in the same folder on your drive (example: &#039;&#039;c:\data\survey_xxxx_SPSS_syntax_file.sps&#039;&#039; and &#039;&#039;c:\data\survey_xxxx_SPSS_data_file.dat&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
We have two options now:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
1. When using Windows use the explorer to browse to the folder used above. If SPSS is connected to the .sps file extension you can just open the file by double clicking it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
[[File:spss_explorer-screenshot.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
Now you can just choose Run-&amp;gt;All from the opened window and after some time have your output dataset that you can save as a normal .sav file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
2. Sometimes the easy solution above does not work. Then you can proceed as follows:&lt;br /&gt;
* Open SPSS&lt;br /&gt;
* Choose File-&amp;gt;Open-&amp;gt;Syntax&lt;br /&gt;
* Choose the appropriate file: c:\data\survey_xxxx_SPSS_syntax_file.sps&lt;br /&gt;
* Now the syntax opens.&lt;br /&gt;
* Change the line that reads &#039;&#039;/FILE=&#039;survey_xxxx_SPSS_data_file.dat&#039; &#039;&#039; to include the path where the files are: &#039;&#039;/FILE=&#039;c:\data\survey_xxxx_SPSS_data_file.dat&#039; &#039;&#039;, for mac user : &#039;&#039;/FILE=&#039;HD/Users/username/survey_xxxx_SPSS_data_file.dat&#039; &#039;&#039;&lt;br /&gt;
* Now mark the whole command text and choose Run-&amp;gt;All from the menu and after a while (please be patient) you have the dataset with all info like questions, labels etc.&lt;br /&gt;
&lt;br /&gt;
=R Export= &amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
Feel free to add more information if you have some!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
The freeware software [http://www.r-project.org/ R] is an alternative for SPSS. It is an export to an application export in Limesurvey. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:232--&amp;gt;&lt;br /&gt;
Instructions on how to import your dataset in R:&lt;br /&gt;
#Download both the syntax file and the data file.&lt;br /&gt;
#Store both files in R working directory (use &#039;&#039;getwd()&#039;&#039; and &#039;&#039;setwd()&#039;&#039; in a R command window to get and set).&lt;br /&gt;
# In your code enter &#039;&#039;source(&amp;quot;Surveydata_syntax.R&amp;quot;, encoding = &amp;quot;UTF-8&amp;quot;)&#039;&#039; in R command window which will import the data in the correct format to a data frame called &amp;quot;data&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:233--&amp;gt;&lt;br /&gt;
Responses with limited options will be factored with the levels matching the code of the question and the labels matching the options.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:234--&amp;gt;&lt;br /&gt;
Questions with other as an option will have the question field with _Other appended as a new column for the other data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:230--&amp;gt;&lt;br /&gt;
NB: R-export is a plugin in Limesurvey. If you cannot find the R-export options (&#039;&#039;R (syntax file)&#039;&#039;, &#039;&#039;R (data file)&#039;&#039;)  under &#039;&#039;Export results to application&#039;&#039;, make sure the R-export plugin is enabled in the plugin menu.&lt;br /&gt;
&lt;br /&gt;
=STATA-xml Export= &amp;lt;!--T:200--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:201--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;This option is available from version 2.05&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:202--&amp;gt;&lt;br /&gt;
STATA is a commercial data analysis and statistical software package. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:203--&amp;gt;&lt;br /&gt;
This export routine was created to facilitate rapid analysis of data collected with LimeSurvey. It creates an XML-file in STATAs proprietary format, which can be imported independent of the platform STATA is run on. Using this format offeres several advantages over importing plain CSV files:&lt;br /&gt;
*Data sets are fully labelled including variable labels (question, subquestion) and value labels (answers, if applicable).&lt;br /&gt;
*Dates are already transformed to STATAs internal date format and thus can directly be used to calculate difference between days etc.&lt;br /&gt;
*Variable names are, if necessary, converted to a STATA compatible format.&lt;br /&gt;
*Data formats of variables (string, integer, float, etc.) are already set according to the underlying data. (No more numbers encoded as strings!). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:204--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Howto load the file in STATA:&lt;br /&gt;
In STATA&#039;s menu, click on File, Import, xml-data. Choose browse to navigate to your exported file and click &#039;OK&#039;. That should be it.&lt;br /&gt;
If you prefer STATA&#039;s binary .dta files, you can just save your data again in this format.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:205--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Be aware:&#039;&#039;&#039; &lt;br /&gt;
*Due to a limitation in STATA&#039;s data format, the length of string (text) variables have a maximum of 244 characters (Stata versions 8-12) and 2045 characters (Stata version 13 and above). Please indicate your Stata version in the settings of the export plugin. &lt;br /&gt;
*STATA only supports attaching value labels to numerical values. So to achieve short answers (usually one or two digits) and have these properly labelled, one should use numerical answer-codes in LimeSurvey (1=Totally agree).cIf non-numerical answer codes are used (A=Totally agree), then the complete answer text will be used as answer (eg.: &#039;Totally agree&#039;).&lt;br /&gt;
&lt;br /&gt;
=VVExport ([[File:exportvv.png]]) and VVImport ([[File:importvv.png]])= &amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:206--&amp;gt;&lt;br /&gt;
{{FeatureChange|v=2.05}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Once you&#039;ve begun collecting responses, there may be occasions where you need to be able to directly edit and modify large quantities of data from your responses table, where a spreadsheet tool may be more useful.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
VVExport (the &amp;quot;VV&amp;quot; stands for vertical verification) allows you to export your responses table into a .csv file. So long as the general structure of the file remains intact, you can then edit values within it, and then import the file again into your responses table using the &amp;quot;VVImport&amp;quot; feature.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
Things you should be aware of:&lt;br /&gt;
* If you want to import responses using &amp;quot;VVImport&amp;quot; make sure to check whether the responses should be added to the existing responses or all responses should be overwritten.&lt;br /&gt;
* If you are trying to import responses from a different yet identical (e.g. identical questions/answers from another survey) make sure you are using the correct vv file and that the first two lines of the .csv-file are correct.&lt;br /&gt;
* If you import a survey to your LimeSurvey installation the SID will (if possible) not change. The group id and question id however might change. So you might have to adjust the first two heading lines to match the new group id/question id. See &#039;&#039;&#039;Adjusting vv file headings&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== VVExport file version 2 {{NewIn|2.05}} == &amp;lt;!--T:207--&amp;gt;&lt;br /&gt;
This new feature allows different column names than the database. If your question code are unique, then the new version is selected. In the new version each column name uses the [[Expression_Manager#Qcode_Variable_Naming|Qcode Variable Naming]]. For example this allows to update an existing survey in different installation  more easily.&lt;br /&gt;
&lt;br /&gt;
==Exporting a VV survey file== &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
[[File:limesurveyExportVVen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
When you choose to export responses using VVExport you will be given the option to choose which survey to be exported, whether you want to export all responses or complete responses only or incomplete responses only. The file extension allows you to choose which extension the exported file will have. For easy use .csv should be chosen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
A &#039;vv survey file&#039; allows you to import the responses to a survey when the question/answer combinations have changed. Effectively this allows you to add or remove questions in an active survey.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
Clicking on &amp;quot;Export a VV survey file&amp;quot; will then produce a tab delimited file that can be opened by Excel or similar style spreadsheet program. The first two rows of the spreadsheet are the column labels. The first row is a &amp;quot;human readable&amp;quot; column heading that details the name of the question/answer field. The second row is the internal PHP/database column name for that response.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
You should not modify the first two rows of this spreadsheet if you want to be able to &amp;quot;import&amp;quot; the data back into LimeSurvey at a later point.&lt;br /&gt;
&lt;br /&gt;
===Exporting a VV survey file {{NewIn|v=2.05}}=== &amp;lt;!--T:208--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:209--&amp;gt;&lt;br /&gt;
{{FeatureStarting|v=2.05}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:210--&amp;gt;&lt;br /&gt;
[[File:VV2-export-en.png|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:211--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Export survey&#039;&#039;&#039; : The survey ID to be exported (read-only)&lt;br /&gt;
* &#039;&#039;&#039;Export&#039;&#039;&#039; : The completion state of the responses to be exported&lt;br /&gt;
* &#039;&#039;&#039;File extension&#039;&#039;&#039; : The file extension. The file is a TSV ([[wikipedia:Tab-separated_values|Tab-separated values]]) file. For easy opening in MS-Excel set the extension to .txt, with LibreOffice, OpenOffice or other spreadsheet program you can leave it to .csv.&lt;br /&gt;
* &#039;&#039;&#039;VV export version&#039;&#039;&#039; : The 1.0 version uses database column headers, version 2.0 uses [[Expression_Manager#Qcode_Variable_Naming|Qcode Variable Naming]]. Version 2.0 is selected by default if all of your question code are unique.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:212--&amp;gt;&lt;br /&gt;
The first two rows of the spreadsheet are the column labels. The first row is a &amp;quot;human readable&amp;quot; column heading that details the name of the question. The second row is the real column name (Internal DB- or Qcode-name) for that response.&lt;br /&gt;
&lt;br /&gt;
==Editing a VV survey file== &amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
When a .vv file has been successfully exported you can use a spreadsheet tool to open and edit the file. If you have to choose a column separator when opening the file please use the &amp;quot;Tab&amp;quot; character. If you are using non-ASCII characters make sure you set &amp;quot;UTF-8&amp;quot; as character set.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
{{Alert|If you are using Microsoft Excel to edit the exported vv file, you should know that excel destroys the original data structure of the file. This causes an error when you try to re-import the edited .vv file.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
By default the first two rows of the .vv file are headers. If needed you can remove the first line to have a real TSV file. There are different use cases for importing a .vv file so we will differentiate between adding new responses to a survey and overwriting all responses of the survey.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
Example structure of a .vv file:&lt;br /&gt;
&lt;br /&gt;
===VV version 1 TSV file=== &amp;lt;!--T:213--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:214--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
Response ID	Date submitted	Last page	Start language	Token	please vote from 1 to 6 (1 - super, 6 - worst)&lt;br /&gt;
id	submitdate	lastpage	startlanguage	token	46492X40X1991&lt;br /&gt;
183	09.11.11 11:44	3	de	jsfhusdgqfygqsy	4&lt;br /&gt;
184	09.11.11 11:53	3	de	sdfhsifgsyergze	2&lt;br /&gt;
190	09.11.11 11:44	3	de	qsdqshkfhkdsjhj	1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===VV version 2 TSV file=== &amp;lt;!--T:215--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:216--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
Response ID	Date submitted	Last page	Start language	Token	please vote from 1 to 6 (1 - super, 6 - worst)&lt;br /&gt;
id	submitdate	lastpage	startlanguage	token	QCODE&lt;br /&gt;
183	09.11.11 11:44	3	de	jsfhusdgqfygqsy	4&lt;br /&gt;
184	09.11.11 11:53	3	de	sdfhsifgsyergze	2&lt;br /&gt;
190	09.11.11 11:44	3	de	qsdqshkfhkdsjhj	1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:217--&amp;gt;&lt;br /&gt;
Here SQGA identifier are not used - instead Qcode variable naming &amp;lt;code&amp;gt;QCODE&amp;lt;/code&amp;gt; is used in the second line.&lt;br /&gt;
&lt;br /&gt;
===Reserved names=== &amp;lt;!--T:218--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:219--&amp;gt;&lt;br /&gt;
.VV file uses left and right brackets for reserved names, when importing this string is replaced by :&lt;br /&gt;
* &amp;lt;code&amp;gt;{question_not_shown}&amp;lt;/code&amp;gt; : NULL value in database. LimeSurvey use [empty string] for not answered question, and NULL value for question not shown (by Expression manager or max step in survey).&lt;br /&gt;
* &amp;lt;code&amp;gt;{quote}&amp;lt;/code&amp;gt; : &amp;quot; (a double quote)&lt;br /&gt;
* &amp;lt;code&amp;gt;{cr}&amp;lt;/code&amp;gt; : Carriage return&lt;br /&gt;
* &amp;lt;code&amp;gt;{newline}&amp;lt;/code&amp;gt; : A new line&lt;br /&gt;
* &amp;lt;code&amp;gt;{lbrace}&amp;lt;/code&amp;gt; : Left bracket (for example, if you want to have {cr} in response : use &amp;lt;code&amp;gt;{lbrace}cr}&amp;lt;/code&amp;gt; )&lt;br /&gt;
&lt;br /&gt;
===VV Version 1 editing=== &amp;lt;!--T:220--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Adding new responses to the existing responses of a survey==== &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
This is not supported for version 1 of the format as it easily can lead to various problems including data being imported into the wrong columns. The version 1 of the .vv file was always meant for vertical verification of data in an external tool like Excel, not as a mean to pull together data from different source (like the same survey running on another server).&lt;br /&gt;
&lt;br /&gt;
====Modify all responses of a survey==== &amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
If you want to modify responses of survey you can just add the edit the file. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:77--&amp;gt;&lt;br /&gt;
Step 1: Open the file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:221--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
Response ID	Date submitted	Last page	Start language	please vote from 1 to 6 (1 - super, 6 - worst)&lt;br /&gt;
id	submitdate	lastpage	startlanguage		46492X40X1991&lt;br /&gt;
183	09.11.11 11:44	3	de	4&lt;br /&gt;
184	09.11.11 11:53	3	de	2&lt;br /&gt;
190	09.11.11 11:44	3	de	1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:85--&amp;gt;&lt;br /&gt;
Step 2: Modify responses&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:222--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
Response ID	Date submitted	Last page	Start language	please vote from 1 to 6 (1 - super, 6 - worst)&lt;br /&gt;
id	submitdate	lastpage	startlanguage		46492X40X1991&lt;br /&gt;
1000	09.11.11 11:44	3	de	3&lt;br /&gt;
1001	09.11.11 11:53	3	de	3&lt;br /&gt;
1002	09.11.11 11:44	3	de	3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:95--&amp;gt;&lt;br /&gt;
You can then import the survey, make sure to override the existing responses (see &amp;quot;Importing a VV survey file&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Importing a VV survey file== &amp;lt;!--T:125--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:126--&amp;gt;&lt;br /&gt;
[[File:LimeSurveyImportVVen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:127--&amp;gt;&lt;br /&gt;
As long as the first two lines are intact, you can then import the data in your vv survey file back into an active LimeSurvey survey.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:128--&amp;gt;&lt;br /&gt;
If you used Microsoft Excel to edit the exported vv file, the data structure of this file may be corrupted, so LimeSurvey is not able to import the edited file. You can try the following workaround to get the import working without an error:&lt;br /&gt;
*Open your exported vv file in Excel and do your changes (I guess you already did that)&lt;br /&gt;
*Save it as tab-separated text file (It creates a new file with the extension .txt)&lt;br /&gt;
*Do another &amp;quot;clean&amp;quot; vv export from LimeSurvey&lt;br /&gt;
*Open this new exported vv file with a texteditor like notepad or something else (I used textwrangler on mac)&lt;br /&gt;
*Press CTRL + A to mark all of the content and delete it&lt;br /&gt;
*Open the Excel edited vv file (the tab separated .txt file) with a texteditor and press CTRL + A to mark all of the content&lt;br /&gt;
*Press CTRL + C to copy the content and paste it into the new (now empty) vv file&lt;br /&gt;
*Press CTRL + S to save the file as it is (as .csv)&lt;br /&gt;
*Now try to import this file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:129--&amp;gt;&lt;br /&gt;
Then, from the browse screen, choose the &amp;quot;Import a VV Survey file&amp;quot; icon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:130--&amp;gt;&lt;br /&gt;
The &amp;quot;Import a VV Survey File&amp;quot; screen needs you to choose the &amp;quot;vvexport&amp;quot; file you are importing. If you choose to &amp;quot;Exclude Record IDs&amp;quot; the records will be imported and brand new Record ID&#039;s will be generated for them (use this option for the use case &amp;quot;Adding new responses to the existing responses of a survey&amp;quot;). If you un-check this box, then the original record id&#039;s will be imported (use this option for the use case &amp;quot;Overwriting all responses of the survey&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:131--&amp;gt;&lt;br /&gt;
There are a range of options you can choose that tell LimeSurvey how to deal with double or multiple entries.&lt;br /&gt;
*Report an error (and skip the new record).&lt;br /&gt;
*Renumber the new record&lt;br /&gt;
*Replace the existing record (uses this for the use case &amp;quot;Overwriting all responses of the survey&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
===Importing a VV survey file {{NewIn|2.05}}=== &amp;lt;!--T:227--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:228--&amp;gt;&lt;br /&gt;
[[File:VV2-import-en.png|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:229--&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;File&#039;&#039;&#039; : Select the file to be uploaded. The file must be a [[wikipedia:Tab-separated_values|TSV file]]: A text file with each column separated by TAB.&lt;br /&gt;
* &#039;&#039;&#039;Exclude record IDs?&#039;&#039;&#039; : If &#039;id&#039; column exist in the file you can exclude this line or not. If this setting is checked then a new record is added for each line of the .vv file. If unchecked you can choose:&lt;br /&gt;
* &#039;&#039;&#039;When an imported record matches an existing record ID&#039;&#039;&#039;:&lt;br /&gt;
** &#039;&#039;skip&#039;&#039; : Report and skip the new record. After upload you will see if the record already existed - if it existed it&#039;s not imported.&lt;br /&gt;
** &#039;&#039;renumber&#039;&#039; : Renumber the new record. A new record is added to the response table with answer of the VV file.&lt;br /&gt;
** &#039;&#039;replace&#039;&#039; : Replace the existing record. The old record is deleted and completely replaced by the record from the VV file&lt;br /&gt;
** &#039;&#039;replaceanswer&#039;&#039; : Replace response details from the file in the existing record. The old record is updated with the new response from the VV file. This allow to replace only one question in the response table.&lt;br /&gt;
* &#039;&#039;&#039;Import as not finalized response?&#039;&#039;&#039; : If checked the submitdate is set to NULL, so the response is set to not completed.&lt;br /&gt;
* &#039;&#039;&#039;Character set of the file&#039;&#039;&#039; : You can choose the character set of the file - the default and recommended value is UTF-8 but some spreadsheet program don&#039;t allow to choose a character set.&lt;br /&gt;
* &#039;&#039;&#039;First line contains question codes&#039;&#039;&#039; : By default VV file first line contain human readable question, the real column names are in the second line. This allow to use the first line as the real column names.&lt;br /&gt;
* &#039;&#039;&#039;Force import&#039;&#039;&#039; : If the question codes are not found in the database name or in [[Expression_Manager#Qcode_Variable_Naming|Qcode Variable Naming]] then columns are assigned depending of order. This can be used to import VV file from different LimeSurvey instance but each survey must be exactly the same. We strongly recommend to use this only if you know what you are doing. It can be very dangerous and lead to results ending up in the wrong column.&lt;br /&gt;
&lt;br /&gt;
=Other export options= &amp;lt;!--T:132--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Export a single response== &amp;lt;!--T:133--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:134--&amp;gt;&lt;br /&gt;
If you want to export an individual response, you can do it in 3 ways:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:135--&amp;gt;&lt;br /&gt;
1. Login to limesurvey admin backend, choose your survey, goto &amp;quot;Edit survey settings&amp;quot; -&amp;gt; &amp;quot;Notification and data management&amp;quot; and make sure you receive basic email notifications.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:136--&amp;gt;&lt;br /&gt;
Every time someone has completed a survey, you will receive an email with a link: &amp;quot;Click the following link to see the individual response&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:137--&amp;gt;&lt;br /&gt;
This will take you to a page with a button above the data saying &amp;quot;Export this response&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:138--&amp;gt;&lt;br /&gt;
2. Login to limesurvey admin backend, choose your survey and &amp;quot;Browse responses for this survey&amp;quot;. Click on &amp;quot;Display responses&amp;quot; and the id number you want to export in the left column. Then you can click on &amp;quot;Export this survey&amp;quot; above the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:139--&amp;gt;&lt;br /&gt;
3. Login to limesurvey admin backend, choose your survey and &amp;quot;Export results to application&amp;quot;. In the last field above &amp;quot;Export data&amp;quot; you can choose which entry you want to export.&lt;br /&gt;
&lt;br /&gt;
==Match responses from different surveys== &amp;lt;!--T:140--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:141--&amp;gt;&lt;br /&gt;
If you want to track survey responses for particular individuals over time, LimeSurvey can help you do that. A possible use case is to track group responses before and after the group takes a particular seminar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:142--&amp;gt;&lt;br /&gt;
The steps to implementing this are as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:143--&amp;gt;&lt;br /&gt;
1. Create the survey&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:144--&amp;gt;&lt;br /&gt;
2. Make sure the survey is non-anonymous and uses tokens. To create a non-anonymous survey:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:145--&amp;gt;&lt;br /&gt;
a - Click on the icon General settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:147--&amp;gt;&lt;br /&gt;
b - Then under the Tokens tab select &amp;quot;No&amp;quot; for Anonymized responses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:149--&amp;gt;&lt;br /&gt;
3. Activate the survey.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:150--&amp;gt;&lt;br /&gt;
When you activate the survey, click on the &amp;quot;switch to closed-access mode&amp;quot; button to create the token table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:151--&amp;gt;&lt;br /&gt;
[[File:switch_to_closed.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:152--&amp;gt;&lt;br /&gt;
4. Populate the tokens table with whatever method you wish (follow the instructions found at the [[Tokens]] page ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:153--&amp;gt;&lt;br /&gt;
5. Export the survey results and make sure you include the token information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:154--&amp;gt;&lt;br /&gt;
To export click &#039;&#039;browse results&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:155--&amp;gt;&lt;br /&gt;
[[File:browse_results.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:156--&amp;gt;&lt;br /&gt;
...and then &#039;&#039;export&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:157--&amp;gt;&lt;br /&gt;
[[File:export2.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:158--&amp;gt;&lt;br /&gt;
Remember to choose one or more elements from the token table to associate with the survey responses:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:159--&amp;gt;&lt;br /&gt;
[[File:export_tokens.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:160--&amp;gt;&lt;br /&gt;
6. When you run the survey again, which can easily be done by copying the survey and tokens table using export/import, just repeat the steps, and make sure the same query is used to build the csv token import file.&lt;br /&gt;
&lt;br /&gt;
=Problems &amp;amp; Solutions= &amp;lt;!--T:161--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Excel== &amp;lt;!--T:162--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modifying responses in Excel prior to Import=== &amp;lt;!--T:163--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:164--&amp;gt;&lt;br /&gt;
In order to make multiple changes to responses, you may choose to Export and open a file in Excel. Make changes to the data (other than the top lines) and then save as a .txt file. If you save as .csv, Excel uses comma-delimits which will not import into LimeSurvey. By saving as a .txt file, Excel saves as a tab-delimited file which imports back into LimeSurvey.&lt;br /&gt;
&lt;br /&gt;
===Edit .csv with Excel=== &amp;lt;!--T:165--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:166--&amp;gt;&lt;br /&gt;
In general &#039;&#039;&#039;&#039;&#039;we do not recommend to use Excel to edit the exported .csv files&#039;&#039;&#039;&#039;&#039; because Excel does some changes to the internal data structure which results in a failing import. If you nevertheless want to use Excel you have to set the seperator for Excel to a comma in System Control (Windows Systems):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:167--&amp;gt;&lt;br /&gt;
System Control|Region- Languageoptions|Regional Settings, customize...|Tab Numbers|Digit grouping symbol| replace ; with ,&lt;br /&gt;
&lt;br /&gt;
===Workaround to edit .csv files with Excel=== &amp;lt;!--T:168--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:169--&amp;gt;&lt;br /&gt;
Using Excel for editing questions can prevent you from being able to re-import them. But editing is the way to go if you have more than 5 or so options or ranking options, want to use Excel capabilities like sorting, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:170--&amp;gt;&lt;br /&gt;
This is a partial workaround that seems to work in 1.82-essentially, only use Excel on the part of the file that is the data:&lt;br /&gt;
* Export a question similar to what you would like to reuse as .csv file&lt;br /&gt;
* Open the CSV file in a rawtext editor&lt;br /&gt;
* Copy the part that has the answers to Excel, and parse it with Text to Columns or equivalent.&lt;br /&gt;
* Use the talent of Excel to allow pasting text in columns to paste in 20, 50, 100 answers, as you wish&lt;br /&gt;
* Save the file as Excel CSV, which will likely have no quotes.&lt;br /&gt;
* Open this file in the editor, and Select All, Copy&lt;br /&gt;
* Go back to the file you opened with the rawtext editor&lt;br /&gt;
* Paste over the answers there&lt;br /&gt;
* Save AS, with a different name, maybe one that you can remember for reuse&lt;br /&gt;
* Import this file.&lt;br /&gt;
&lt;br /&gt;
===Excel - export limited to 255 columns=== &amp;lt;!--T:171--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:172--&amp;gt;&lt;br /&gt;
Due to limitations in Excel (versions lower and equal to 2003), LimeSurvey can export only 255 columns at the same time. Microsoft has proposed a [http://support.microsoft.com/kb/272729/en-us workaround as a VB macro].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:173--&amp;gt;&lt;br /&gt;
Although newer spreadsheets (Excel &amp;gt;= 2007, OpenOffice) can display more than 255 columns, the internal module used by LimeSurvey still can&#039;t export more than 255 columns.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:174--&amp;gt;&lt;br /&gt;
Two workarounds are however possible, use one of the following solutions:&lt;br /&gt;
* Either export to CSV and import in your spreadsheet&lt;br /&gt;
* Or use multiple exports (selecting at most 250 columns at a time), then merge the exported results&lt;br /&gt;
&lt;br /&gt;
===Excel/.csv - export fails=== &amp;lt;!--T:175--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:176--&amp;gt;&lt;br /&gt;
If you are unable to export your data to excel or into a .csv file please try to clear your browser cache and cookies.&lt;br /&gt;
&lt;br /&gt;
==CSV== &amp;lt;!--T:177--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CSV defaults to 255 columns=== &amp;lt;!--T:178--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:179--&amp;gt;&lt;br /&gt;
When exporting large surveys the GUI by default limits the export to the first 255 columns. To work around this, simply mark all data sets for export.&lt;br /&gt;
&lt;br /&gt;
==SPSS export== &amp;lt;!--T:180--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===General steps=== &amp;lt;!--T:181--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:182--&amp;gt;&lt;br /&gt;
To import the LimeSurvey response data please use the following steps:&lt;br /&gt;
#Click on the &#039;Export to SPSS&#039; icon.&lt;br /&gt;
#From the select boxes select which responses you want to export and your SPSS version.&lt;br /&gt;
#Download both files, the .sps (SPSS syntax command file) and .dat file (data file)&lt;br /&gt;
#Open the .sps file with SPSS by opening SPSS, then select &#039;Choose another type of file&#039; and select the downloaded .sps file.&lt;br /&gt;
#Now an editor opens inside SPS where you can edit the commands in that file. Look for the line that starts with &#039;/FILE=...&#039;&lt;br /&gt;
#Edit that line and adjust the path so it points to your .dat file. Example: Your *.dat file is in c:\temp so set this line to  /FILE=&#039;c:\temp\survey_(xxxx)_SPSS_data_file.dat&#039;&lt;br /&gt;
#Now select all commands inside the editor by pressing CTRL-A.&lt;br /&gt;
#From the SPSS menu select Run/All.&lt;br /&gt;
#Be patient, it will take some time to import all data and labels. Check the status bar for the progress.&lt;br /&gt;
#Done!&lt;br /&gt;
&lt;br /&gt;
===Possible error messages in SPSS=== &amp;lt;!--T:183--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====ERROR. command name:Get Data==== &amp;lt;!--T:184--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:185--&amp;gt;&lt;br /&gt;
If you receive the error message &#039;&#039;ERROR. command name:Get Data. 2267 Unexpected Token missing.&#039;&#039; please edit the forth line of your syntax file so it points to the absolute path of the data file like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:186--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;C:\spss\Data\limesurvey\SPSS\survey_35276_SPSS_data_file.dat&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Error: &amp;quot;Text value unmappable in the current server locale&amp;quot;==== &amp;lt;!--T:187--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:188--&amp;gt;&lt;br /&gt;
This error can happen if you try to open an exported syntax file in SPSS 16. The solution is to force SPSS to interpret the syntax file as unicode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:189--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;Open SPSS. Go to Edit &amp;gt; Options &amp;gt; Character encoding for data and syntax. Change the option to &amp;quot;unicode&amp;quot;.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:190--&amp;gt;&lt;br /&gt;
LimeSurvey data can now be exported to SPSS 16 without any problem.&lt;br /&gt;
&lt;br /&gt;
===Define the scale to use for your variable=== &amp;lt;!--T:191--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:192--&amp;gt;&lt;br /&gt;
It is possible to override the default scale used for a variable by setting the question attribute [[Advanced question settings#scale_export|scale_export]] to the appropriate value.&lt;br /&gt;
&lt;br /&gt;
==VV Export/Import== &amp;lt;!--T:193--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===VV - Problems with vv import=== &amp;lt;!--T:194--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:195--&amp;gt;&lt;br /&gt;
If you have difficulties importing a vv file, try a Tab-delimited file and it should work fine.&lt;br /&gt;
&lt;br /&gt;
==Other problems and solutions== &amp;lt;!--T:196--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Copying responses into a different survey (using tokens)=== &amp;lt;!--T:197--&amp;gt;&lt;br /&gt;
# Create new survey, add a dummy response, export the response file, open in Excel. This creates the format for the new import file.&lt;br /&gt;
# Export the responses from the old survey, including tokens, open in Excel.&lt;br /&gt;
# Use this data to create an Excel worksheet for the standard token file import (eg. Firstname, Lastname, Token, Email address, Email status (OK), Language (En)). Save as .csv and import tokens to the new survey in LimeSurvey.&lt;br /&gt;
# In Excel, copy the response fields from the old survey responses that you want in the new survey (including token) into the appropriate Excel column of the new survey format.&lt;br /&gt;
# Save as .txt file.&lt;br /&gt;
# Use VVImport to import the new data into the new survey.&lt;br /&gt;
# Possible import errors include date format - some system date fields do not allow a NULL value, some do. If the date looks okay but gives an error, use the Excel cell format &amp;quot;2009-12-01&amp;quot;.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>RsmokeUM</name></author>
	</entry>
</feed>