Home > Uncategorized > How To Filter Answers/Topics based on additional data lists

How To Filter Answers/Topics based on additional data lists

Overview

 

There are many cases where you have two different Answer/Topics lists in two different questions, where one list relies on the other and the responses given in one question will determine the Answers/Topics displayed on the other. One example is Car brands and Car models. Selecting specific brands in one question will determine which models will be displayed on the second.

A good way to perform such filters is using an external data list that will hold both lists and the filtering code will be based on its content.

 

The attached sample will show you an example of this filtering need.

 

In order to test the sample, you’ll need to perform the following:

  • Import the attached .srv file. Click here to see how to import a survey into your account.
  • Create the additional data list from the attached excel file. Click here to learn how to create an additional data list in your account. Make sure to call the data list “CitiesFilterSample” so it will match the script.
  • Add the additional data list to the sample survey: By default the survey is not imported with the subject store assigned to it. Go to the survey’s Advanced tab -> Edit Subject Store -> mark the subject store you see as “deleted” and click on “Remove”. And add the new data list you’ve created with the “New from common” button.

 

 

That’s it!

 

Visit us at: http://www.dooblo.net

 

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: