This feature allows you to create a new loop variable using the functions of AskiaScript.
questionnaire tab.To access this feature, in the edit menu select create a variable... and select closed level. Enter the name of the new variable in the caption box.
You can add responses to the loop, which would typically be for each question within the loop.
If you leave the script empty, this will create one level for each response. For multi-coded questions, this is as if the respondent had been through every iteration of the loop (so every item will have same number of respondents).
create variable dialog.In this topic:
There is an easy way to create a loop variable automatically from the questionnaire tab. To do so:
create loop....This creates a loop question of the type closed level, and a sub-question of the type closed by single script. Scripts are automatically generated for both. You can then edit the script to specify exactly which respondents are shown in the loop.
The following commands are available above the list of new responses:
| Icon | Name | Effect |
|---|---|---|
|
|
Insert |
Insert a new response item. |
|
|
Delete |
Delete the selected response item. |
|
|
Move up |
Move the selected response item upwards in the list. You can also drag and drop responses into the desired sequence. |
|
|
Move down |
Move the selected response item downwards in the list. You can also drag and drop responses into the desired sequence. |
|
|
Paste |
Paste a response item from the clipboard (i.e. create a new response item as a duplicate of the last item copied). |