In this article
Call Blocks are used to call or execute procedures or sub routines of questions that have been created in the Call Blocks folder. This folder is external to the main questionnaire tree. The execution of a Call Block can be called at any time from within the main questionnaire tree by inserting a “Block To Call” node. To add a new Call Block object to the tree:
- Right click on the Call Blocks folder and choose Insert Block.
- Double-click on the Call Block object to open its properties page.
- Name - The name of the Call Block. By default the blocks will be named BlockX where X is the number in which it was created. You can rename the block as desired.
- Order - The order in which the elements within the block are to be presented to the respondent. Click the down-arrow beside the field and select the desired order from the list.
- Deleted - If the Call Block has been deleted from the tree and you wish to reinstate it, undelete it by un-checking the box.
- Add objects (questions, loops etc.) to the Block as required, using the same methods as when adding objects to the questionnaire.
Figure 1 - Inserting a new Call Block
Figure 2 - Call Block properties
The properties are as follows:
Note: This property only applies to the objects inside the selected block.
Any objects added to the Block will be executed when the Block is called by a “Block To Call” node in the questionnaire.