====== Concatenating Questions ======

Sometimes SoSci Survey provides the input fields you need -- unfortunately in different question types, though you need them in one question. In some cases it is sufficient to ask two questions with no space between them.

The first example shows a question of the type "text input" right underneath a question type "scale (fully labeled)".

{{:en:create:2013-04-27_1438.png?nolink|Concatenation questions - example 1}}

Example two shows three dropdown selections below each other.

{{:en:create:sociodemography.png?nolink|Concatenation questions - example 2}}

===== Implementation =====

Concatenating questions is rather simple. After creating seperate questions, go to **Compose questionnaire**, and place them underneath each other. Choose the display settings with the {{:button.settings.png?nolink|Einstellungen}} button. Set the spacing to the next question to "no spacing". 
The second question was set not to show the title and the description.

{{:en:create:2013-04-27_1443.png?nolink|Display settings for concatenating questions}}

Confirm this setting on the green tick.

The second example uses a small space of 5 pixels between the questions so the input fields are more distinct.
The dropdown questions themselves were set to show the lead text and dropdown field "equal".

{{:en:create:sd-options.png?nolink|Display settings for several concatenating questions}}

{{:en:create:sd-question-options.png?nolink|Question selection options}}

The same can be realized more clearly by using the following PHP-code:

<code php>
question('CC04', 'spacing=4');  // Dropdown 1
question('CC05', 'show-title=no', 'show-explanation=no', 'spacing=4');  // Dropdown 2
question('CC06', 'show-title=no', 'show-explanation=no');  // Dropdown 3
</code>

**Advice:** When concatenating questions remember to adjust the widths of the different questions.