Documentation

, by Denis Chenu

This plugin use Array text question type . The settings is find in Survey settings.

This plugin is sponsored by Comité Régional du Tourisme de Bretagne

First step is to create the Array text question. Actually the plugin apply to column : each answer in same column used the same setting.

PNG - 11.4 kb
Sub question at X-Scale

Settings for plugin arrayTextAdapt

In survey settings at Plugins tab : you find the plugin settings for this survey.

You can see all Array text question type with all X-Scale shown. For each X-Scale you have a drop-down menu to choose the specific settings: mask or a dropdown. The information provided was the code of the question and partial question text, same with sub-questions.

PNG - 13.6 kb
Mask settings
Mask settings for arrayTextAdapt LimeSurvey plugin
saisieVille
If you have the plugin cpVille, you can choose to use it in the column. The information shown to the user is the same than in cpVille settings. Information view and entered in the input was set to ‘[code postal] Town name’
Numerical input
Use the included javascript system to allow only number to be used in this input. The radix use the survey radix system.
No server control is done when user submit is answer : you can use Sub-question validation equation (em_validation_sq); for example : (is_numeric(OtherType_SQ01_numeric) || is_empty(OtherType_SQ01_numeric))
Integer only
Use the included javascript system to allow only integer number to be used in this input.
No server control is done when user submit is answer : you can use Sub-question validation equation (em_validation_sq); for example : (is_int(OtherType_SQ01_integer) || is_empty(OtherType_SQ01_integer))
PNG - 19.9 kb
By existing label set
Existing label set settings for arrayTextAdapt LimeSurvey plugin
Using an existing label set
All label sets is show in the drop-down, choose the good one.
The label set used try to use the good language :
  1. the language of the actual respondent;
  2. the default language of the survey;
  3. the default language of installation;
  4. and finally the first one language of the label set.

With LimeSurvey 2.50, the settings are shown when you edit survey text element.

PNG - 45.4 kb
Settings in LimeSurvey 2.50

Survey exemple

You can find demonstration of this plugin. You can download the example survey, remind you need label sets to see the plugin in action.

The plugin is 2.50 comaptible, except for saisieVille part who need some template adaptation.