This article describes how to create a Text box control and use it as a filter. The steps will take you from a Page containing a table containing verbatim responses and a grid of bars chart based on coded data of these responses...
...to a Page containing a Text Box Filter that can be used to filter the table and the chart. In the below example, the filter is based on an open-ended cola awareness question. When we type "Cola" into the text field, both outputs are filtered to those respondents who included the word "Cola" in their verbatim response.
- A Displayr document containing a Data set.
- A Displayr output to filter (e.g., table, chart, visualization, etc.).
- A text variable to use as a filter.
- Select the output(s) you wish to filter with the Text Box field.
- Go to the Anything menu and select Filtering > Control > Text Box Filters on an Output.
- Select the text response variable(s) you wish to use as a filter and press OK.
- Select Yes if you wish to ignore case (e.g., match "Cola" with "cola"), or select No if you wish for the filter to be case sensitive.
Displayr will then do the following:
- Add a Text box field on your Page for every text variable you select in Step 3.
- Create a Text Box Filter variable in your Data Sets tree linked to each Text box selection.
- Apply the filter to all the outputs selected in Step 1.