<?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=Lovepade</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=Lovepade"/>
	<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/Special:Contributions/Lovepade"/>
	<updated>2026-08-14T11:49:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Email_bounce_tracking_system&amp;diff=4348</id>
		<title>Email bounce tracking system</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Email_bounce_tracking_system&amp;diff=4348"/>
		<updated>2011-11-08T15:15:45Z</updated>

		<summary type="html">&lt;p&gt;Lovepade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
The mail bounce tracking system (available in v1.91 or later) is capable of tracking down and marking the e-mails that were not delivered to the recipients (participants). The system relies on the &amp;quot;mail delivery notification failure report&amp;quot; and therefore need the administrator&#039;s e-mail address using which the e-mails were sent or a special account used only for tracking the bounces . Along with the address of the account, the credentials of the account are also required, with the connection details.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
&lt;br /&gt;
the php5-imap module must be installed on your server. You can check if this is the case, by looking at the show phpinfo button, found on the global settings page:&lt;br /&gt;
&lt;br /&gt;
http://i.imgur.com/ErDep.png&lt;br /&gt;
&lt;br /&gt;
Then look for an imap section, like this. If an imap section is shown, you are good to go:&lt;br /&gt;
&lt;br /&gt;
http://i.imgur.com/GhbRG.png&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have php5-imap installed, and you have root acces to the server, your can install as per your distributions normal procedures. For e.g. Debian see this: http://www.electrictoolbox.com/install-php-imap-debian/ . Just remebmer to restart apache gracefulle: /usr/sbin/apache2ctl graceful&lt;br /&gt;
&lt;br /&gt;
=How it works=&lt;br /&gt;
&lt;br /&gt;
The basic idea behind the development of the system was to reduce the manual work and reducing human error&amp;amp;rsquo;s in the way.&lt;br /&gt;
&lt;br /&gt;
The basic working of this system is that when sending the mail, the mail bounce tracking system automatically adds an survey-id and token-id to the mail&amp;amp;rsquo;s header without administrator notice.&lt;br /&gt;
&lt;br /&gt;
[[File:Header.png]]&lt;br /&gt;
&lt;br /&gt;
These headers ,also known as custom headers, are added to each invitation email that LimeSurvey sends to the participants.&lt;br /&gt;
&lt;br /&gt;
When the mail is bounced back, the original header along with the Delievery notification header is received. The system then checks for new mail&amp;amp;rsquo;s and parses the mail&amp;amp;rsquo;s that have these custom header&amp;amp;rsquo;s and mark the wrong E-Mail id in the red font color in the token&amp;amp;rsquo;s table.&lt;br /&gt;
&lt;br /&gt;
=Setting up the system=&lt;br /&gt;
&lt;br /&gt;
The system is capable of working at the global level or survey level, thus the settings can be saved accordingly. The global settings can be saved under Global Settings -&amp;gt; Bounce Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:GlobalSettings.png]]&lt;br /&gt;
&lt;br /&gt;
The local settings can be entered under the token management of that particular survey.&lt;br /&gt;
&lt;br /&gt;
[[File:LocalSettings.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:LocalSettings2.png]]&lt;br /&gt;
&lt;br /&gt;
As you can see in the screenshot above the setting to be used in that particular survey is to be selected. Avilable options are&lt;br /&gt;
* No settings to be used&lt;br /&gt;
* Use Local Settings&lt;br /&gt;
* Use Global Settings&lt;br /&gt;
&lt;br /&gt;
[[File:SettingsUsed.png]]&lt;br /&gt;
&lt;br /&gt;
Once the settings have been set the system only needs to be activated using the token management panel of the survey under the display tokens.&lt;br /&gt;
&lt;br /&gt;
[[File:Running.png]]&lt;br /&gt;
&lt;br /&gt;
Once executed the result of the scan will be shown after the refresh of the page, and of all the entries whose invitation are bounced their e-mail address are marked in red font. Also; &amp;quot;Email status&amp;quot; is chanced from &amp;quot;OK&amp;quot; to &amp;quot;bounced&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:table.png]]&lt;/div&gt;</summary>
		<author><name>Lovepade</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Email_bounce_tracking_system&amp;diff=4349</id>
		<title>Email bounce tracking system</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Email_bounce_tracking_system&amp;diff=4349"/>
		<updated>2011-11-08T15:13:04Z</updated>

		<summary type="html">&lt;p&gt;Lovepade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
The mail bounce tracking system (available in v1.91 or later) is capable of tracking down and marking the e-mails that were not delivered to the recipients (participants). The system relies on the &amp;quot;mail delivery notification failure report&amp;quot; and therefore need the administrator&#039;s e-mail address using which the e-mails were sent or a special account used only for tracking the bounces . Along with the address of the account, the credentials of the account are also required, with the connection details.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
&lt;br /&gt;
the php5-imap module must be installed on your server. You can check if this is the case, by looking at the show phpinfo button, found on the global settings page:&lt;br /&gt;
&lt;br /&gt;
http://i.imgur.com/ErDep.png&lt;br /&gt;
&lt;br /&gt;
Then look for an imap section, like this. If an imap section is shown, you are good to go:&lt;br /&gt;
&lt;br /&gt;
http://i.imgur.com/GhbRG.png&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have php5-imap installed, and you have root acces to the server, your can install as per your distributions normal procedures. For e.g. Debian see this: http://www.electrictoolbox.com/install-php-imap-debian/ . Just remebmer to restart apache gracefulle: /usr/sbin/apache2ctl graceful&lt;br /&gt;
&lt;br /&gt;
=How it works=&lt;br /&gt;
&lt;br /&gt;
The basic idea behind the development of the system was to reduce the manual work and reducing human error&amp;amp;rsquo;s in the way.&lt;br /&gt;
&lt;br /&gt;
The basic working of this system is that when sending the mail, the mail bounce tracking system automatically adds an survey-id and token-id to the mail&amp;amp;rsquo;s header without administrator notice.&lt;br /&gt;
&lt;br /&gt;
[[File:Header.png]]&lt;br /&gt;
&lt;br /&gt;
These headers ,also known as custom headers, are added to each invitation email that LimeSurvey sends to the participants.&lt;br /&gt;
&lt;br /&gt;
When the mail is bounced back, the original header along with the Delievery notification header is received. The system then checks for new mail&amp;amp;rsquo;s and parses the mail&amp;amp;rsquo;s that have these custom header&amp;amp;rsquo;s and mark the wrong E-Mail id in the red font color in the token&amp;amp;rsquo;s table.&lt;br /&gt;
&lt;br /&gt;
=Setting up the system=&lt;br /&gt;
&lt;br /&gt;
The system is capable of working at the global level or survey level, thus the settings can be saved accordingly. The global settings can be saved under Global Settings -&amp;gt; Bounce Settings.&lt;br /&gt;
&lt;br /&gt;
[[File:GlobalSettings.png]]&lt;br /&gt;
&lt;br /&gt;
The local settings can be entered under the token management of that particular survey.&lt;br /&gt;
&lt;br /&gt;
[[File:LocalSettings.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:LocalSettings2.png]]&lt;br /&gt;
&lt;br /&gt;
As you can see in the screenshot above the setting to be used in that particular survey is to be selected. Avilable options are&lt;br /&gt;
* No settings to be used&lt;br /&gt;
* Use Local Settings&lt;br /&gt;
* Use Global Settings&lt;br /&gt;
&lt;br /&gt;
[[File:SettingsUsed.png]]&lt;br /&gt;
&lt;br /&gt;
Once the settings have been set the system only needs to be activated using the token management panel of the survey under the display tokens.&lt;br /&gt;
&lt;br /&gt;
[[File:Running.png]]&lt;br /&gt;
&lt;br /&gt;
Once executed the result of the scan will be shown after the refresh of the page, and of all the entries whose invitation are bounced their e-mail address are marked in red font.&lt;br /&gt;
&lt;br /&gt;
[[File:table.png]]&lt;/div&gt;</summary>
		<author><name>Lovepade</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Label_sets&amp;diff=1833</id>
		<title>Label sets</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Label_sets&amp;diff=1833"/>
		<updated>2011-06-22T14:05:58Z</updated>

		<summary type="html">&lt;p&gt;Lovepade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;The function and usage of label sets have change radically with version 1.90. This page refers to v 1.90 or newer versions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Label sets are basically list templates where each list has a set of codes with labels and can be used in most question types either as answers or as subquestions. Contrary to earlier versions of LimeSurvey label sets are merely copied to the particular question as subquestion or answers. So if you change a label set after you &#039;used&#039; it the changes are not propagated to the questions where a label set has been used as a template.&lt;br /&gt;
&lt;br /&gt;
This new usage of label sets gives much more flexibility for future development and makes the structure of a question more logical.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;&#039;&#039;&#039;Hint:&#039;&#039;&#039; A label set must be at least contain the same base language as the survey, else you will not be able to use it for any question of your survey.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of label set is as follows. If one wants to define a custom 7-point scale, a label set provides this function. In this example, a very simple custom label set with the code/label pairs is shown. Note that the label is what appears in the actual questions.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;Code&#039;&#039;&#039;||&#039;&#039;&#039;Label&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||Not useful at all&lt;br /&gt;
|-&lt;br /&gt;
|2||2&lt;br /&gt;
|-&lt;br /&gt;
|3||3&lt;br /&gt;
|-&lt;br /&gt;
|4||Somewhat useful&lt;br /&gt;
|-&lt;br /&gt;
|5||5&lt;br /&gt;
|-&lt;br /&gt;
|6||6&lt;br /&gt;
|-&lt;br /&gt;
|7||Very useful&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Another graphical example:&lt;br /&gt;
&lt;br /&gt;
Graphic (3 different smileys) instead of label text:&lt;br /&gt;
&lt;br /&gt;
[[File:3xSmiley-Question.gif]]&lt;br /&gt;
&lt;br /&gt;
=How to...=&lt;br /&gt;
&lt;br /&gt;
Click on the [[File:labels.png]] &amp;quot;Edit/Add Label Sets&amp;quot;-Icon in the Administration-Menu to edit, create, delete, import or export label sets used in the &#039;flexible&#039; labels questions.&lt;br /&gt;
&lt;br /&gt;
==...add a new label set==&lt;br /&gt;
*&#039;&#039;&#039;Set Name:&#039;&#039;&#039; Each new label set has to be given a name.&lt;br /&gt;
*&#039;&#039;&#039;Languages:&#039;&#039;&#039; Every label set must be specified for the language it&#039;s used for. You can choose as many languages from the menu as you want.&lt;br /&gt;
&lt;br /&gt;
==...import a label set==&lt;br /&gt;
*Create a new label set. In the screen where you can enter the label set details you will find a tab to import an existing label set. Choose a previous exported label set (either a .csv (outdated format) or .lsl file) and click on the &amp;quot;Import label set&amp;quot;-button to import. Alternative: Import a whole survey - in this case the label sets are imported with the questions. Duplicate label sets are ignored.&lt;br /&gt;
&lt;br /&gt;
==...edit, delete, or export a label set==&lt;br /&gt;
&lt;br /&gt;
Choose an already existing label Set in the drop-down-Box in the label set administration bar to edit, delete or export a label set.&lt;br /&gt;
*&#039;&#039;&#039;Edit label set:&#039;&#039;&#039; Here it&amp;amp;acute;s possible to rename the Label Set and add/remove languages for this Label Set.&lt;br /&gt;
**To edit a label set outside of LimeSurvey (for instance, using a text editor or Excel), see this tutorial: [[Editing label sets using Microsoft Excel]].&lt;br /&gt;
*&#039;&#039;&#039;Delete label set:&#039;&#039;&#039; After a pop-up, you can delete the selected Label Set.&lt;br /&gt;
*&#039;&#039;&#039;Export label set:&#039;&#039;&#039; Export current Label Set to a .csv-File.&lt;br /&gt;
*&#039;&#039;&#039;Labels bar:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
+To add a new label you have to fill in a label code, assessment value and label-text and press on the &amp;quot;Add new label&amp;quot;-Button. After this the label should be listed above. It&#039;s possible to use a graphic instead of or additionally to a label text. Just use HTML-code to include the graphic you want, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img border=&amp;quot;0&amp;quot; src=&amp;quot;http://www.yourdomain.at/pics/pic.gif&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your label set has more than one language, you can choose which language you want to edit. Every label needs a code, an assessment value and a title. The code can only be changed in the base language of the Label Set. The assessment value can be ignored (set it to 0) if you do not use [[Assessments|assessments]]. The title is the text, which is displayed in the question.&lt;br /&gt;
*&#039;&#039;&#039;Del-button&#039;&#039;&#039;: You can delete labels with the &amp;quot;Del&amp;quot;-button.&lt;br /&gt;
*&#039;&#039;&#039;Up/down-buttons&#039;&#039;&#039;: It&#039;s possible to change the row of labels by the &amp;quot;Up&amp;quot; and &amp;quot;Dn&amp;quot;-buttons.&lt;br /&gt;
*&#039;&#039;&#039;Fix sort&#039;&#039;&#039;: You can check the consistency and do a sort of the labels by pressing the &amp;quot;Fix Sort&amp;quot;-Button.&lt;br /&gt;
&lt;br /&gt;
Labels which are in use by questions are hyperlinked to the question.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;(:idea:) &#039;&#039;&#039;Hint:&#039;&#039;&#039; The order of the labels can be modified by editing the label-set, however it is not possible to add new labels once the label-set is in use with question of an active survey.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;(:idea:) &#039;&#039;&#039;Hint:&#039;&#039;&#039; Some useful label sets are available on the [http://www.limesurvey.org/en/additional-downloads/Label-Set-Templates/ limesurvey site]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Uploaded resources management=&lt;br /&gt;
&lt;br /&gt;
This tab lets you manage files (pictures, media files) that were uploaded in the HTML Editor.&lt;br /&gt;
&lt;br /&gt;
You can:&lt;br /&gt;
* Browse available files&lt;br /&gt;
* Export files as a ZIP archive&lt;br /&gt;
* Import a ZIP archive of files&lt;br /&gt;
&lt;br /&gt;
Caution:&lt;br /&gt;
* Authorized file extensions are defined in config-defaults.php by your system administrator.&lt;br /&gt;
* Files for the survey are in the upload/labels/&amp;lt;lid&amp;gt; sub directory.&lt;br /&gt;
** Uploaded files will only be seen while browsing resources on this survey objects (labels) not in other labels or objects (groups, questions, answers).&lt;br /&gt;
** However do not expect this limited visibility to ensure confidentiality of the resources as they are reachable with a simple browser to anyone who knows the URL to the file.&lt;br /&gt;
* Creation of sub directories of the ZIP archive won&#039;t work.&lt;br /&gt;
* You can&#039;t import a ZIP file containing sub directories.&lt;/div&gt;</summary>
		<author><name>Lovepade</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Label_sets&amp;diff=1834</id>
		<title>Label sets</title>
		<link rel="alternate" type="text/html" href="https://www.limesurvey.org/manual/index.php?title=Label_sets&amp;diff=1834"/>
		<updated>2011-06-22T13:51:45Z</updated>

		<summary type="html">&lt;p&gt;Lovepade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;The function and usage of label sets have change radically with version 1.90. This page refers to v 1.90 or newer versions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Label sets are basically list templates where each list has a set of codes with labels and can be used in most question types either as answers or as subquestions. Contrary to earlier versions of LimeSurvey label sets are merely copied to the particular question as subquestion or answers. So if you change a label set after you &#039;used&#039; it the changes are not propagated to the questions where a label set has been used as a template.&lt;br /&gt;
&lt;br /&gt;
This new usage of label sets gives much more flexibility for future development and makes the structure of a question more logical.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;&#039;&#039;&#039;Hint:&#039;&#039;&#039; A label set must be at least contain the same base language as the survey, else you will not be able to use it for any question of your survey.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of label set is as follows. If one wants to define a custom 7-point scale, a label set provides this function. In this example, a very simple custom label set with the code/label pairs is shown. Note that the label is what appears in the actual questions.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&#039;&#039;&#039;Code&#039;&#039;&#039;||&#039;&#039;&#039;Label&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||Not useful at all&lt;br /&gt;
|-&lt;br /&gt;
|2||2&lt;br /&gt;
|-&lt;br /&gt;
|3||3&lt;br /&gt;
|-&lt;br /&gt;
|4||Somewhat useful&lt;br /&gt;
|-&lt;br /&gt;
|5||5&lt;br /&gt;
|-&lt;br /&gt;
|6||6&lt;br /&gt;
|-&lt;br /&gt;
|7||Very useful&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Another graphical example:&lt;br /&gt;
&lt;br /&gt;
Graphic (3 different smileys) instead of label text:&lt;br /&gt;
&lt;br /&gt;
[[File:3xSmiley-Question.gif]]&lt;br /&gt;
&lt;br /&gt;
=How to...=&lt;br /&gt;
&lt;br /&gt;
Click on the [[File:labels.png]] &amp;quot;Edit/Add Label Sets&amp;quot;-Icon in the Administration-Menu to edit, create, delete, import or export label sets used in the &#039;flexible&#039; labels questions.&lt;br /&gt;
&lt;br /&gt;
==...add a new label set==&lt;br /&gt;
*&#039;&#039;&#039;Set Name:&#039;&#039;&#039; Each new label set has to be given a name.&lt;br /&gt;
*&#039;&#039;&#039;Languages:&#039;&#039;&#039; Every label set must be specified for the language it&#039;s used for. You can choose as many languages from the menu as you want.&lt;br /&gt;
&lt;br /&gt;
==...import a label set==&lt;br /&gt;
*Create a new label set. In the screen where you can enter the label set details you will find a tab to import an existing label set. Choose a previous exported label set (either a .csv (outdated format) or .lsl file) and click on the &amp;quot;Import label set&amp;quot;-button to import. Alternative: Import a whole survey - in this case the label sets are imported with the questions. Duplicate label sets are ignored.&lt;br /&gt;
**&#039;&#039;&#039;Note&#039;&#039;&#039;: .lsl is a pain to work with. A description of how to create a .csv file, would be really nice.&lt;br /&gt;
&lt;br /&gt;
==...edit, delete, or export a label set==&lt;br /&gt;
&lt;br /&gt;
Choose an already existing label Set in the drop-down-Box in the label set administration bar to edit, delete or export a label set.&lt;br /&gt;
*&#039;&#039;&#039;Edit label set:&#039;&#039;&#039; Here it&amp;amp;acute;s possible to rename the Label Set and add/remove languages for this Label Set.&lt;br /&gt;
**To edit a label set outside of LimeSurvey (for instance, using a text editor or Excel), see this tutorial: [[Editing label sets using Microsoft Excel]].&lt;br /&gt;
*&#039;&#039;&#039;Delete label set:&#039;&#039;&#039; After a pop-up, you can delete the selected Label Set.&lt;br /&gt;
*&#039;&#039;&#039;Export label set:&#039;&#039;&#039; Export current Label Set to a .csv-File.&lt;br /&gt;
*&#039;&#039;&#039;Labels bar:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
+To add a new label you have to fill in a label code, assessment value and label-text and press on the &amp;quot;Add new label&amp;quot;-Button. After this the label should be listed above. It&#039;s possible to use a graphic instead of or additionally to a label text. Just use HTML-code to include the graphic you want, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img border=&amp;quot;0&amp;quot; src=&amp;quot;http://www.yourdomain.at/pics/pic.gif&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your label set has more than one language, you can choose which language you want to edit. Every label needs a code, an assessment value and a title. The code can only be changed in the base language of the Label Set. The assessment value can be ignored (set it to 0) if you do not use [[Assessments|assessments]]. The title is the text, which is displayed in the question.&lt;br /&gt;
*&#039;&#039;&#039;Del-button&#039;&#039;&#039;: You can delete labels with the &amp;quot;Del&amp;quot;-button.&lt;br /&gt;
*&#039;&#039;&#039;Up/down-buttons&#039;&#039;&#039;: It&#039;s possible to change the row of labels by the &amp;quot;Up&amp;quot; and &amp;quot;Dn&amp;quot;-buttons.&lt;br /&gt;
*&#039;&#039;&#039;Fix sort&#039;&#039;&#039;: You can check the consistency and do a sort of the labels by pressing the &amp;quot;Fix Sort&amp;quot;-Button.&lt;br /&gt;
&lt;br /&gt;
Labels which are in use by questions are hyperlinked to the question.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;(:idea:) &#039;&#039;&#039;Hint:&#039;&#039;&#039; The order of the labels can be modified by editing the label-set, however it is not possible to add new labels once the label-set is in use with question of an active survey.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;(:idea:) &#039;&#039;&#039;Hint:&#039;&#039;&#039; Some useful label sets are available on the [http://www.limesurvey.org/en/additional-downloads/Label-Set-Templates/ limesurvey site]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Uploaded resources management=&lt;br /&gt;
&lt;br /&gt;
This tab lets you manage files (pictures, media files) that were uploaded in the HTML Editor.&lt;br /&gt;
&lt;br /&gt;
You can:&lt;br /&gt;
* Browse available files&lt;br /&gt;
* Export files as a ZIP archive&lt;br /&gt;
* Import a ZIP archive of files&lt;br /&gt;
&lt;br /&gt;
Caution:&lt;br /&gt;
* Authorized file extensions are defined in config-defaults.php by your system administrator.&lt;br /&gt;
* Files for the survey are in the upload/labels/&amp;lt;lid&amp;gt; sub directory.&lt;br /&gt;
** Uploaded files will only be seen while browsing resources on this survey objects (labels) not in other labels or objects (groups, questions, answers).&lt;br /&gt;
** However do not expect this limited visibility to ensure confidentiality of the resources as they are reachable with a simple browser to anyone who knows the URL to the file.&lt;br /&gt;
* Creation of sub directories of the ZIP archive won&#039;t work.&lt;br /&gt;
* You can&#039;t import a ZIP file containing sub directories.&lt;/div&gt;</summary>
		<author><name>Lovepade</name></author>
	</entry>
	<entry>
		<id>https://www.limesurvey.org/manual/index.php?title=Using_regular_expressions&amp;diff=3682</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=3682"/>
		<updated>2011-05-09T08:20:28Z</updated>

		<summary type="html">&lt;p&gt;Lovepade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
(Perl) 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.regxlib.net/. These patterns will almost all work if surrounded with the forward slash.&lt;br /&gt;
&lt;br /&gt;
To test your regex you can [http://www.regxlib.net/RETester.aspx use this regex tester].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Please add successfully tested regular expressions!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Examples (note that these are all one line):&lt;br /&gt;
&lt;br /&gt;
=Email Validation:=&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above regex will not validate email adresses with &amp;quot;+&amp;quot; - which is valid, and e.g. promoted by gmail. The below regex is slightly modified and allows &amp;quot;+&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is still far from perfect - but I think its better then the original (also because start-of-string and end-of-string anchors are added). Mind. This will allow e.g. abc+++defg@somemail.office.com. Ideally the regex should be modified to only allow one &amp;quot;+&amp;quot; charachter.&lt;br /&gt;
&lt;br /&gt;
=Postcodes:=&lt;br /&gt;
&lt;br /&gt;
==Australian Postcodes:==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[0-9]{4}/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Canadian Postcodes:==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[a-zA-Z]\d{1}[a-zA-Z](\-| |)\d{1}[a-zA-Z]\d{1}$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==US Postal Codes:==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[0-9]{5}([- /]?[0-9]{4})?$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Phone Numbers=&lt;br /&gt;
&lt;br /&gt;
==US Phone Number:==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^(?:\([2-9]\d{2}\)\ ?|[2-9]\d{2}(?:\-?|\ ?))[2-9]\d{2}[- ]?\d{4}$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[\(\)\.\- ]{0,}[0-9]{3}[\(\)\.\- ]{0,}[0-9]{3}[\(\)\.\- ]{0,}[0-9]{4}[\(\)\.\- ]{0,}$/&amp;lt;/nowiki&amp;gt;&lt;br /&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;nowiki&amp;gt; . ( ) - (space)&amp;lt;/nowiki&amp;gt;&lt;br /&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 Number:==&lt;br /&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;
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;
Brackets, white space and hypens are ignored.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;NOTE: The &#039;PRECICE&#039; versions listed here match against the first four or five didgets in a number to ensure that they are valid Australian numbers.&lt;br /&gt;
&lt;br /&gt;
The &#039;NOT VERY PRECISE&#039; only match against the first and second didgit so may allow invaid numbers&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===All Australian phone numbers (mobile and landline - area code required)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&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;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\+?61|0)[2-478](?:[ -]?[0-9]){8}$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===All Australian phone numbers (landlines only - area code required)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&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}$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\+?61|\(?0)[2378]\)?(?:[ -]?[0-9]){8}$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===New South Wales landline phone numbers (area code optional)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)2\)?[ -]?)?(?:3[ -]?[38]|[46-9][ -]?[0-9]|5[ -]?[0-35-9])(?:[ -]?[0-9]){6}$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)2\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Victorian and Tasmanian landline phone numbers (area code optional)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)3\)?[ -]?)?(?:4[ -]?[0-57-9]|[57-9][ -]?[0-9]|6[ -]?[1-67])(?:[ -]?[0-9]){6}$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)3\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Queensland landline phone numbers (area code optional)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)7\)?[ -]?)?(?:[2-4][ -]?[0-9]|5[ -]?[2-7]|7[ -]?6)(?:[ -]?[0-9]){6}$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)7\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===South Australia, Northern Territory, Western Australia landline phone numbers (area code optional)===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)8\)?[ -]?)?(?:5[1-4]|6[0-8]|[7-9][0-9])$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)8\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Australian Mobile phone numbers only===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;VERY PRECISE&lt;br /&gt;
&lt;br /&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}$/&lt;br /&gt;
&lt;br /&gt;
NOT VERY PRECISE&lt;br /&gt;
&lt;br /&gt;
/^(?:\(?(?:\+?61|0)4\)?(?:[ -]?[0-9]){7}[0-9]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=German marks (with optional plus or minus)=&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[1-6]{1}[\+|\-]?$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Age Validation=&lt;br /&gt;
&lt;br /&gt;
===Example: Age 20-99===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/([2-9][0-9])/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example: Age 18-35===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/(1[8-9]|2[0-9]|3[0-5])/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example: Age 19-65===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;(1[8-9]|[2-5][0-9]|6[0-5])$&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Number validation=&lt;br /&gt;
&lt;br /&gt;
==Numbers from 1 to 99999==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&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;/nowiki&amp;gt;  &amp;lt;nowiki&amp;gt;/^[1-9][0-9]{0,4}$/ does the same as above but should run a little faster&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numbers from 1 to 999, 1.000 to 999.999 to 999.999.999==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[1-9][0-9]{0,2}(?:\.[0-9]{3}){0,2}$/&lt;br /&gt;
&lt;br /&gt;
accepts numbers from 1 to 999, 1.000 to 999.999 to 999.999.999 but&lt;br /&gt;
&lt;br /&gt;
rejects numbers like 999.1.1 , 94.22.22, 999.1.22, 999.11.1, 999.1.333&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Number validation with optionnal decimal (for price)==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^([1][0-9][0-9]|[1-9][0-9]|[0-9])[[\.)[0-9][0-9])?$/ accepts numbers from 0 to 199, with 2 decimal optionnal&amp;lt;/nowiki&amp;gt;  &amp;lt;nowiki&amp;gt;/^[1-9][0-9]{0,2}(?:,?[0-9]{3}){0,3}\.[0-9]{2}$/&lt;br /&gt;
&lt;br /&gt;
 forces two decimal points&lt;br /&gt;
&lt;br /&gt;
 accepts numbers from 1.00 to 999,999,999.00 with an optional comma delimiting thousands/millions&lt;br /&gt;
&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;
&lt;br /&gt;
 but not 1,23.00 , 12,3.4 or 1234,43.04&amp;lt;/nowiki&amp;gt;  &amp;lt;nowiki&amp;gt;/^[1-9][0-9]{0,2}(?:,?[0-9]{3}){0,3}(?:\.[0-9]{2})?$/ same as above but the two decimal points are optional&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ==Month (1-12)==&lt;br /&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;nowiki&amp;gt;/^[0]*[1-9]$|^[0]*1[0-2]$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 =Minimum width (set to 3 in this example)=&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;/^.{3,}$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 =Currency=&lt;br /&gt;
&lt;br /&gt;
 ==US currency (dollar sign and cents optional)==&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;/^\$?\d+(\.(\d{2}]]?$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Swiss price==&lt;br /&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;nowiki&amp;gt;/^(\d+)(\.\d(05)?)?$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Validate score=&lt;br /&gt;
&lt;br /&gt;
==1-10==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[1-9]{1}$|^10$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==1-100==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;/^[1-9]?[0-9]{1}$|^100$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Text validation=&lt;br /&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;
The following test for at least one word per line for at least 3 lines and no more than 10 lines. &amp;lt;nowiki&amp;gt;/(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+)*)(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+)*)){2,10}/is&amp;lt;/nowiki&amp;gt;If you wanted, say five words per line you could change the first and last star/asterisk to {4,} e.g. &amp;lt;nowiki&amp;gt;/(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+){4,})(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+){4,})){2,10}/is&amp;lt;/nowiki&amp;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 {0,4} (note you use 0 because you&#039;re already matching the first line. &amp;lt;nowiki&amp;gt;/(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+)*)(?:[,.;:?!&amp;amp; \n\r]?(?:\n|\r|\n\r|\r\n)(?:[&amp;lt;/div&amp;gt;,.;:?!&amp;amp; \n\r]+(?: [&amp;lt;div class=&amp;quot;simplebox&amp;quot;&amp;gt;,.;:?!&amp;amp; \n\r]+)*)){0,4}/is&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Word count==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&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;
/^[-\w]+(?:\W+[-\w]+){0,199}\W*$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;To increase the minimum change the zero part of {0,199}&lt;br /&gt;
&lt;br /&gt;
To increase or decrease the maximum change the &amp;quot;199&amp;quot; part of {0,199}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time validation=&lt;br /&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. Currently  (2009/04/06) LimeSurvey (v1.80plus) doesn&#039;t have a Time queston type so instead you can use &amp;quot;short free text&amp;quot; with one of the nine validation regular expressions below:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;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;
/^(?:[01][0-9]|2[0-3]):[0-5][0-9]$/&lt;br /&gt;
&lt;br /&gt;
/^(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9])?$/&lt;br /&gt;
&lt;br /&gt;
/^(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/~/pp&amp;lt;span style=&amp;quot;color:pp~The following three match 12 hour time, as above with seconds, optional seconds and with seconds required&lt;br /&gt;
&lt;br /&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))$/&lt;br /&gt;
&lt;br /&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))$/&lt;br /&gt;
&lt;br /&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))$/~/pp&amp;lt;/span&amp;gt;pp~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;
/^(?:(?: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])$/&lt;br /&gt;
&lt;br /&gt;
/^(?:(?:00:[0-5][0-9](?&amp;lt;center&amp;gt;[0-5][0-9])? (?:am|AM)|(?:0[1-9]|1[01]):[0-5][0-9](?&amp;lt;/center&amp;gt;[0-5][0-9])? (?:[ap]m|[AP]M)|12:[0-5][0-9](?&amp;lt;center&amp;gt;[0-5][0-9])? (?:pm|PM))|(?:[01][0-9]|2[0-3]):[0-5][0-9](?&amp;lt;/center&amp;gt;[0-5][0-9])?)$/&lt;br /&gt;
&lt;br /&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;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=US States=&lt;br /&gt;
&lt;br /&gt;
To validate for one state use the following (example is Texas):&lt;br /&gt;
*TX uppercase only = &amp;lt;nowiki&amp;gt;/^(TX)$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*tx lowercase only = &amp;lt;nowiki&amp;gt;/^(tx)$/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*TX upper or lowercase = &amp;lt;nowiki&amp;gt;/^([T|t][X|x])$/&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lovepade</name></author>
	</entry>
</feed>