Skip to main content

FV Decipher Support

All the topics, resources needed for FV Decipher.

 
FocusVision Knowledge Base

Adding Logic to a Question or Answer Option

 

1:  How to add a logic condition

The first step is to select the question, row, column or choice you wish to add logic to and select "Show If" in the options menu. Then select "+ New Condition" to create new logic for the question.

The "Set up Logic Conditions" pop up window will appear. Logic conditions can only be created using elements that occur before the question, row, column or choice you are adding logic to. Select the question from the drop down menu and the answer options from that question will appear, then select the answer choices that will define the logic. For examples of how to do this for different question types, please scroll down.

1.1:  "is" vs. "is NOT"

This drop down menu is located in the "Set up Logic Conditions" pop up window. It allows you to select "if [question] is [answer options]" or "if [question] is NOT [answer options]." An example is shown below.

2:  Adding logic based on a 1-dimensional question

In a 1-dimensional question, the question has rows, columns or choices.

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the question you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then select the answer choices that will define the logic. Select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

Example: Logic based on a single-select element (1-dimensional question)

Example: Logic based on a multi-select element (1-dimensional question)

3:  Adding logic based on a 2-dimensional question

In a 2-dimensional question, the question has rows and columns, rows and choices, or columns and choices.

In this example we are going to add logic that only shows the question to respondents that prefer to shop for books and tools online.

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the question you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then select the row or column answer choice from the drop down menu. If the question is "grouped by" rows, the row choices will appear in the drop down menu, and if the question is "grouped by" columns, the column choices will appear in the drop down menu.

Once the row is selected the answer choices for the columns will appear. Select the column(s) that will define the logic. In this example we want to add more logic, so we will need to select the "+add more logic" icon. Alternatively, you may select "Save," or "Save As" if you wish to name the condition for later use in the survey editor, if your logic is complete at this point.

After we select the "+add more logic" icon a summary of the logic we've created will appear, along with a new box with the same options we had in step 1. Select the question you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then select the row or column answer choice from the drop down menu.

Once the row is selected the answer choices for the columns will appear. Select the column(s) that will define the logic. Then select "and" or "or" from the drop down menu. We want respondents that prefer to shop for books and tools online, so we will select "and."

Once your logic is complete, review it one last time to confirm it is correct, then select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

4:  Adding logic based on a 3-dimensional question

In a 3-dimensional question, the question has rows, columns and choices.

In this example we want to show the question to respondents that answered that they prefer to shop for tools online because of the free shipping.

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the question/row you want to use for the logic from the drop down menu. If the question is "grouped by" rows, the row choices will be grouped with the question and appear in the first drop down menu, and if the question is "grouped by" columns, the column choices will be grouped with the question and appear in the first drop down menu. In our example the question we are using for the logic is grouped by rows.

Next, select "is" or "is NOT" from the drop down menu, then select the column from the drop down menu.

Once the column is selected the choices will appear. Select the choice(s) that will define the logic. If more than one choice is checked, select "or" or "and" from the drop down menu next to the choices. At this point you may either add more logic or select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

5:  Adding logic based on 2 or more questions

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the question you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then select the answer choices that will define the logic. To add additional logic restrictions, select the "+add more logic" icon.

Follow the same steps, selecting the question, "is" or "is NOT," and the answer choices that will define the logic. Then you may choose to add more logic or select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

6:  Adding logic based on a number element

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the question you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then enter the number or range for each response that will define the logic. You may also select "or" or "and" from the drop down next to the answer options. Then select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

Hover over a question mark icon to view examples of the possible number entries you may use to define the logic.

7:  Adding logic based on a quota element

A quota element can be 1- or 2-dimensional.

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the quota you want to use for the logic from the drop down menu, select "is" or "is NOT" from the drop down menu, then select the quota cell(s) that will define the logic. Select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

Example: Logic based on a quota element

8:  Adding logic based on type of mobile device

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window will appear. Select the mobile device type (i.e., category type or OS type) you want to use for the logic from the drop down menu, then select "is" or "is NOT" from the drop down menu. Select "Save," or "Save As" if you wish to name the condition for later use in the survey editor.

Example: Logic based on a smartphone device

Mobile category descriptions:

    • A "Smartphone" is a phone with a higher resolution display, touch enabled that uses mainly iOS, Android, new Blackberry's or Windows Phone 7 OS (e.g., iPhone, Galaxy S II, Blackberry Bold, Nokia Lumia 900)
    • A "Feature phone" is an older phone with a smaller screen, limited hardware, limited web browsing capabilities and direct pad or key-based navigation (e.g., Samsung Blackjack, Motorola RAZR V3)
    • A "Tablet" is internet enabled, touch screen and 7" or more in screen size (e.g., iPad, Kindle Fire, Galaxy Tab)

Example: Logic based on iOS or Blackberry mobile operating system (OS)

9:  Adding logic based on sample source

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window displays. Select "sample source"  from the drop down menu, select "is" or "is NOT" from the drop down menu, then check the sample sources that will define the logic. Select "Save," or "Save As" if you want to name the condition for later use in the survey editor.

Example: Logic based on sample source

10:  Adding logic based on languages

Note: The language option for defining a logic condition is available only when 1 or more language is added via the language manager.

After selecting "+condition" from the "Show If" drop down menu in options, the "Set up Logic Conditions" pop up window displays. Select "languages"  from the drop down menu, select "is" or "is NOT" from the drop down menu, then check the languages that will define the logic. Select "Save," or "Save As" if you want to name the condition for later use in the survey editor.

Example: Logic based on languages.

11:  Where logic conditions are displayed

Once a logic condition for an element has been saved it will appear at the top of the element window and under the options section. Logic conditions for rows, columns, etc., are identified by a "cond" marker, or tag, and the logic will display if you hover over the "cond" tag. The condition will also appear under the options section when the row, column, etc. is selected.

  • Was this article helpful?