In this article
Parameters of this type are used to store answers on a given question.
To connect the parameter to a specific question, first set the parameter type in the property sheet, then double-click the parameter and drag the question into the screen.
The following Response parameter types are used in Forsta Reportal:
- String Response - For string fields. The parameter can hold values that are answers to string-based questions such as single, multi, grid or hierarchy (note that open-text cannot be used). Double-click the parameter to define the question that is to be used to build the list of the possible values for the parameter. String response parameters are typically used in List components.
- Numeric Response - The parameter can hold a numeric value and can be used in input components.
- Date Response - The parameter can hold a date value and can be used in calendar components, for example, interview_start.
- Project - Used to store a specific survey project. Possible values for this parameter type must be defined by using scripting, either by adding projects based on a data source node ID (double-click node project in the data source to see the ID) or by using project IDs directly. You are recommended to use data source node IDs as long as your project is in the data source. Then you can easily change the project of the report by replacing the elements in the data source.
- Segment - Used to store a segment. Create a list of segments by dragging them into the list from the segment part of the data source.
- Banner - In the event the report has more than one banner, the parameter allows dynamic selection of banners on a table by the viewer. The user can then choose which banner they wish to use by selecting it in the Parameter Navigator.
Note: Response parameters and Fixed Questionnaire Elements are the most used in Reportal Scripting. Coverage in this Manual will therefore focus only on these types of parameters.