Adding script filters
Adding script filters enables you to define expressions that cannot be directly parsed for IfBlock, If Go To, and Skip-and-Fill items.
To create a Script Filter
1 Select the condition from the IfBlock or If Go To logic builder dialogs or the Skip and Fill dialog, and then click the
Script Filter button
.
A new sub-expression is added to the selected condition that provides a text field.
2 Enter the expression.
Example
This script generates an exit message in a CATI survey:
If IOM.Info.InterviewMode = InterviewModes.imLocal Then
InfoLocal.Ask()
ElseIf IOM.Info.InterviewMode = InterviewModes.imDataEntry Then
TextDE.Response = "Data Entry"
TextDE.Show()
ElseIf IOM.Info.InterviewMode = InterviewModes.imPhone Then
InfoCATI.Ask()
ElseIf IOM.Info.InterviewMode = InterviewModes.imWeb Then
InfoWeb.Ask()
End If
See also