First, you need to create a master predefined list with all of the items on it. Let's call it masterList. It will contain the following items:
- MORE THAN $5,000
- $5,000
- $4,900
- $4,800
- $4,700
- $4,600
- $4,500
- $4,400
- $4,300
- $4,200
- $4,100
- $4,000
- $3,900
- $3,800
- $3,700
- $3,600
- $3,500
- $3,400
- $3,300
- $3,200
- $3,100
- $3,000
- $2,900
- $2,800
- $2,700
- $2,600
- $2,500
- LESS THAN $2,500
Next, we need to add the Q1 question. Create a select/dropdown question that uses a new constructed list. Call the list Q1List. It is based on the parent list of masterList. The list-building syntax you would use is:
ADD (masterList, 2, 28)
This simply adds items 2 through 28 to the list. If you were to take the survey and answer this question by selecting $4,000, the value of 12 would be stored in Q1.
Finally, create the Q2 question. This will be another select/dropdown question that uses a new constructed list. Call the list Q2List. It is also based on the parent list masterList. The list-building logic you need to use is:
ADD (masterList)
LISTMAX (Q1-1)
The first line adds all of the items from masterList. The second line limits the size of that list to whatever the value that was selected in Q1, minus 1. In this case, if you selected $4,000 in Q1, the value of Q1 would be 12, subtracting 1 makes it 11, which means that the list will start at item #1 and end with item #11, or $4,100.