This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:combine [23.11.2020 16:00] – ["Don't Know" for Multiple Scales] sophia.schauer | en:create:combine [13.05.2022 18:59] – saskia.mueller.577 | ||
---|---|---|---|
Line 2: | Line 2: | ||
You might want to ask different options about one item. For example the rating of a characteristic and its importance. This is how to implement this. | You might want to ask different options about one item. For example the rating of a characteristic and its importance. This is how to implement this. | ||
+ | |||
+ | **Note:** Please be sure to also read the notes on mobile devices below. | ||
**Example 1**\\ | **Example 1**\\ | ||
Line 200: | Line 202: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ===== Text in the middle ===== | ||
+ | |||
+ | If you want to place the text between the input fields, you can use the '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If the two scale questions have the identifiers " | ||
+ | |||
+ | <code php> | ||
+ | question(' | ||
+ | |||
+ | pageCSS(' | ||
+ | table# | ||
+ | text-align: center; | ||
+ | } | ||
+ | '); | ||
+ | </ | ||
+ | |||
+ | **Note:** The '' | ||
+ | |||
+ | **Tip:** As an alternative to the '' | ||
+ | |||
+ | The second part with '' | ||
===== Combine Multiple Dropdown-Questions | ===== Combine Multiple Dropdown-Questions | ||
Line 210: | Line 236: | ||
+ | ===== Mobile devices and responsive display ===== | ||
+ | |||
+ | A relevant part of the respondants fill in the questionnaire not on an computer but on a mobile device. The most questions in SoSci Survey switch to a different display mode. Therefore in most cases it is enough to try the questionnaire in the end of the implementation on an mobile device. More in the chapter [[: | ||
+ | |||
+ | Combined questions, however, do not automatically adjust the layout to the size of the screen (responsive design) - and therefore may not be completed on mobile devices. Here it is suitable to offer an alternative presentation for mobile devices. | ||
+ | |||
+ | First, create a question of the type " | ||
+ | |||
+ | |||
+ | Now place this question on a page in the questionnaire that comes before the combined question. | ||
+ | In the following example it is assumed that the variable has the identifier " | ||
+ | |||
+ | Now, with a few lines of [[: | ||
+ | |||
+ | <code php> | ||
+ | if (value(' | ||
+ | // combined question | ||
+ | question(' | ||
+ | } else { | ||
+ | // single questions | ||
+ | question(' | ||
+ | question(' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | For an explanation of the code, please refer to the [[: |