Skip to main content

FV Decipher Support

All the topics, resources needed for FV Decipher.

FocusVision Knowledge Base

Verifying Loops

1:  About Loops

A loop allows you to repeat each question for each option that the respondent is either aware or not aware of based on defined criteria. This feature replaces the need to create multiple questions for each option by using a shared set of questions.

2:  Overview of Verifying Loops

In order to verify loops, you’ll need to test the survey with tools.

Navigate through the survey to the question that controls the loop and select some of the options that are to be looped.  Next navigate to the question with the piped text and verify that the loop is only shown for the selected options as expected.    

Note: It may not be feasible to test every loop in a project due to the length of the loop, number of options that may trigger the loop, or complex logic.  Verify that at least one version of the loop is working as expected and then use the Crosstabs and the Coverage Report to verify the rest.  

Learn more: Show Survey With Tools

3:  Loop Example

For this document, reference the following example:

[Q1] Of the following fruits, which do you consume on a regular basis?

  • Apples

  • Bananas

  • Oranges

  • Mangos

  • Cherries

  • Melons

[REPEAT Q2 & Q3 FOR ALL OPTIONS SELECTED AT q1]

[Q2] Where do you go to purchase your [INSERT FRUIT SELECTED IN Q1]? Select all that apply

  • Savemart

  • Vons

  • Food4Less

  • FoodMax

  • Local Farmers Market

[Q3] Of all the stores you frequent to purchase [INSERT FRUIT SELECTED IN Q1], which is your primary store? Select One

  • Savemart

  • Vons

  • Food4Less

  • FoodMax

  • Local Farmers Market

3.1 Verifying Loops in the Survey

Step 1: Navigate to the Loops Controlling Question.

In the Loop Example above, Q1 is the control question for our loop.  All answer options selected at Q1 will see Q2 & Q3 until the exercise is completed.

For this task, we’ll test two of the six possible looks by selecting “Apples” & “Cherries” at Q1, and then selecting continue, as shown below.

Step 2: Verify the loops for each of the selected variables.  

In the example above, we should see Q2 & Q3 repeated twice, once for Apples and once for Cherries.

The first loop shown is for the “Apples” answer option, since that was selected first in the control question and no additional instruction for loop shuffling was given in the questionnaire.  

Note: In addition to verifying the the loop functionality, also verify that the question text and answer options match the questionnaire.

 

After answering Q2 & Q3 for the Apple answer option, we’re looped back to answer Q2 & Q3 for the “Cherries” option as shown below.  

After completing both loops, the survey continues to Q4. Use the recorder to verify that only the two correct loops were shown, as shown below.  

Tip: Use the loop question labels to keep track of all the answer options used in the loop. For example, in the label Q2_r1, Q2 corresponds with the question number, while “r1” corresponds with the answer option being looped, in this case Apples.  

If a question or answer option is missing from the loop, then this likely indicates a programming error.  Verify that the survey setup is correct and then recheck the loop.  

3.2 Verifying Loops in Crosstabs

Once the functionality of the loop has been verified in the survey, you can then turn to verify that there are tables present for all answer option loops in Crosstabs.  

After running the Total Crosstab, verify that all questions in the loop are presented as tables for each answer option that is looped in the survey.  

Learn more: Running a Total Crosstab

For this example, we should see a total of six Q2_rX tables, where “X” corresponds to the different answer options in the control question.  

In the Total Crosstab, verify that all looped questions have tables for each answer option in the loop. In the looping example, we can see that there is a Q2 & Q3 table for the Apples answer option, as shown below.

Use the rest of the Total Crosstab to verify that Q2 & Q3 tables are present for all remaining looped answer options.  

If a table is missing, then this likely indicates a programming error.  Verify that the survey setup is correct and then recheck the loop.  

3.3 Verifying Loops in the Coverage Report

Learn more: Running a Total Crosstab

The final step in verifying the loop is to use the coverage report.

After running the Coverage Report download, verify that all questions in the loop are filling out with data as expected.  Verify that a green checkmark is shown next to all looped questions in the coverage download, as shown below.  

The check mark icon indicates that 100% of the respondents shown the question answered the question. You may hover over the check mark icon to view the percentage, number of respondents that were shown and the number of respondents that answered the question.

If any other icons are present then there may be a programming error. Verify that the survey setup is correct and then recheck the loop in the coverage download.

  • Was this article helpful?