arrayTextAdapt : use array of dropdown in your surveys > Documentation
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.
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.
- 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))
- 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 :
- the language of the actual respondent;
- the default language of the survey;
- the default language of installation;
- and finally the first one language of the label set.
- When using a label set : only code of the label set is stored in the responses table. When you export the data : you only have the code even if you choose complete answers.
With LimeSurvey 2.50, the settings are shown when you edit survey text element.
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 branch compatible ( 2.50 to 2.99), except for saisieVille part who need some template adaptation.