Scripting Overview
-
About Scripting
Most Surveys contain some script code. Scripts are used: In conditions for controlling the flow through the Survey (skipping logic). In column masks (3D grid...
-
Column Masks in 3D-grids
Used for filtering columns in a 3D-grid. If you want to dynamically exclude a column (an element in a 3D-grid), use this field to create a Jscript-expression...
-
Question Mask
Used to dynamically exclude and include questions in Surveys. This functionality can also be used in Page objects (go to Page Object for more information). I...
-
Variables
The f function is used to access survey variable values, i.e. the answers given to a question. It will return values or sets depending on the type of variabl...
-
Conditions
When making conditions, the following standard Jscript logical operators are useful:DescriptionSymbol Logical NOT! Less than< ...
-
Piping
Text Substitution and Response PipingYou can retrieve text or values from a question and insert it into the question wording of another question. To do this,...
-
About Dynamic Questions
This functionality allows you to use logic within a page, and enables parts of a page to be updated based on responses to one or more questions on the same p...
-
Code and Scale Masks
Code masks are used to filter the answer lists of 3D-grids, grids, single, multi, ranking, open text list and numeric list questions, and to select a set of ...
-
Validation Rules and Code
When you add a form to a Survey you actually add four stages of operations to the interview program: User interaction: Display one or more forms to ...
-
Syntax Highlighter
The Syntax Highlighter functionality means that while scripting you no longer need to remember the functions, or look up which properties belong to which cla...