Pular para o conteúdo principal
Base de Conhecimento da FocusVision

Verify Autocoded Responses

1:  About Autocoded Responses

In survey programming, it's possible to pre-populate or autocode data into questions based on answers selected in a previous question or imported data. An autocode (or auto-populate) can be used as a way to improve the respondent experience when taking a survey by coding information into a question.  

Autocoded responses are any responses that the system automatically codes into the survey.  These responses can be automatically coded, prefilled or backfilled depending on the survey setup. In this document we’ll learn how to verify autocoded (auto-populated) responses in your survey.  

2:  Overview

In order to verify autocoded responses, you’ll need to test the survey with tools and navigate to the question for which the coded responses are dependent.  

Learn more: Show Survey With Tools

2.1 Verifying Autocoded Responses

Autocoded responses are the result of programming that indicates that a response should be coded if a particular condition is met.  Oftentimes, the respondent will complete skip over the autocoded question.  

Consider the following request:

[Q1] Would you buy this product at $20?

  • Yes

  • No

"IF 'YES' SELECTED AT Q1, SHOW Q2. OTHERWISE AUTOCODE 'NO' AT Q2"

[Q2] Would you buy this product at $40?

  • Yes

  • No

For this example we’ll need to go to Q1 in the survey.  At Q1, we’ll select ‘YES” and hit continue, as shown in the example below.

The result, is that we are allowed to continue through the survey to Q2 as shown below.

This confirms the first part of the autocode logic we’re verifying in this example, "IF 'YES' SELECTED AT Q1, SHOW Q2”.

Next we need to verify the second part of our autocode logic, “OTHERWISE AUTOCODE 'NO' AT Q2".  To do this, we need to go back to Q1 and the answer options that make the second part of the autocode logic valid, which in this case is “NO”.  

After selecting continue in the example above, we are automatically advanced to Q3 in the survey, effectively skipping Q2.  We can use the Recorder tool to verify that Q2 was autocoded as “NO”, as shown below.

As you can see in the example above, the answer coded at Q2 was “NO” so the autocode logic is functioning correctly.  

Note: it’s important to verify the conditions that trigger the autocode logic, as well as those that do not.  This ensures that the respondent is seeing the survey as desired.  

2.2 Verifying Prefilled Auto Code Responses

Prefilled Autocoded Responses are the result or programming that indicates that a particular value/answer option should display when a respondent reaches a particular question. The respondent will have the opportunity to adjust the answer options or leave them as they are and continue through the survey.  

Consider the following request:

[Q4] How much would you pay for each of the following items:

Please enter a dollar amount

  1. Item 1

  2. Item 2

  3. Item 3

  4. Item 4

  5. Item 5

  6. Item 6

  7. Item 7

  8. Item 8

  9. Item 9

  10. Item 10

[PREFILL ALL ROWS WITH WITH 0]

To verify that these prefilled responses are working correctly, navigate to Q4 while testing the survey with tools.  

As you can see in the image above, all rows have been pre-populated with a value of 0, so the prefilled autocode is functioning correctly.  

1.3 Verifying Backfilled Autocode Responses

Backfilled Autocoded Responses are the result or programming that indicates that a particular value/answer option should be coded after a question has been completed by the respondent.  

Consider the following request:

[Q4] How much would you pay for each of the following items:

Please enter a dollar amount

  1. Item 1

  2. Item 2

  3. Item 3

  4. Item 4

  5. Item 5

  6. Item 6

  7. Item 7

  8. Item 8

  9. Item 9

  10. Item 10

[IF AN ITEM IS LEFT BLANK, CODE WITH 0]

To verify that these prefilled responses are working correctly, navigate to Q5 while testing the survey with tools.  

Next we need to verify the autocode logic, “[IF AN ITEM IS LEFT BLANK, CODE WITH 0]".  To do this, we need enter values for some of the rows in Q5, while leaving others blank.

We’ll update rows 1-5 with random values, leaving rows 6-10 blank, and then hit continue, as shown below.  

Once on the next screen of the survey, use the recorder tool to verify that the backfill autocode responses are saved as desired.  

As you can see in the example above, rows 1-5 show the values we inputted while rows 6-10 show a value of 0; so we can see that the autocode is working correctly.