Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Filtering questions and response lists
 
Filtering questions and response lists
Filtering restricts the questions and responses presented to respondents. It is an efficient alternative to using complicated If statements or writing multiple variations of a question with different response combinations.
Filtering affects the items that are passed to the interviewing program, usually for presentation to respondents. It does not affect the items that are available for use in the script that controls the interview. All items are available, just as they are in scripts with no filtering, and can always be accessed in the script by name. In other words, if a response list contains responses A to G, and an interview is filtered so that only A to C are displayed, responses D to G can still be referenced by name and used in the script even though the respondent might never see them.
See
Asking a subset of questions from a block, compound, or page
Filtering categorical response lists
Response lists of answers chosen at a previous question
Response lists of answers not chosen at a previous question
Response lists that combine answers to previous questions
Responses that should not be filtered
Filtering the questions in a loop (ask some questions, but not others)
Filtering the repetitions of loops with categorical control lists
Filtering the repetitions of loops with numeric control lists
Random filtering for loops
Jagged grids (hide cells in a grid)
Cancelling filters
See also
Filtering loops
Writing interview scripts